[Neuroimaging] Installation error

Wes Louis wes at propheticai.co
Tue Nov 7 12:06:34 EST 2023


Hi,

I get an error when I pip install nipy. I have installed numpy and scipy.

This is the error:

Collecting nipy
  Using cached nipy-0.5.0.tar.gz (2.4 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      Traceback (most recent call last):
        File
"/Users/wesberry/Code/prophetic/fMRI/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 353, in <module>
          main()
        File
"/Users/wesberry/Code/prophetic/fMRI/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File
"/Users/wesberry/Code/prophetic/fMRI/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File
"/private/var/folders/fg/ybyk35v916z9jvw8x_mmwsq40000gn/T/pip-build-env-qdi3gxhj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings,
requirements=['wheel'])
        File
"/private/var/folders/fg/ybyk35v916z9jvw8x_mmwsq40000gn/T/pip-build-env-qdi3gxhj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 325, in _get_build_requires
          self.run_setup()
        File
"/private/var/folders/fg/ybyk35v916z9jvw8x_mmwsq40000gn/T/pip-build-env-qdi3gxhj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 507, in run_setup
          super(_BuildMetaLegacyBackend,
self).run_setup(setup_script=setup_script)
        File
"/private/var/folders/fg/ybyk35v916z9jvw8x_mmwsq40000gn/T/pip-build-env-qdi3gxhj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 341, in run_setup
          exec(code, locals())
        File "<string>", line 16, in <module>
        File
"/private/var/folders/fg/ybyk35v916z9jvw8x_mmwsq40000gn/T/pip-install-cnv1j0h4/nipy_e7a99741371c4f8db7677863da61a737/setup_helpers.py",
line 35, in <module>
          from numpy.distutils.misc_util import appendpath
      ModuleNotFoundError: No module named 'numpy'
      [end of output]

  note: This error originates from a subprocess, and is likely not a
problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem
with pip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/neuroimaging/attachments/20231107/0392dde1/attachment.html>


More information about the Neuroimaging mailing list