You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the pip install command I get the following output. Is this a known issue?
pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.15.1 (from -r requirements.txt (line 1))
Downloading numpy-1.15.1.zip (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 24.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Running from numpy source directory.
:378: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\misc_util.py:474: SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
return is_string(s) and ('*' in s or '?' is s)
Traceback (most recent call last):
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 403, in
File "", line 382, in setup_package
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils_init_.py", line 8, in
from . import ccompiler
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\ccompiler.py", line 17, in
from numpy.distutils import log
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\log.py", line 13, in
from numpy.distutils.misc_util import (red_text, default_text, cyan_text,
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\misc_util.py", line 16, in
from distutils.msvccompiler import get_build_architecture
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
David Davison@DESKTOP-GQTFJVV MINGW64 ~/Documents/source/photomosaic (master)
$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.15.1 (from -r requirements.txt (line 1))
Using cached numpy-1.15.1.zip (4.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Running from numpy source directory.
:378: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\misc_util.py:474: SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
return is_string(s) and ('*' in s or '?' is s)
Traceback (most recent call last):
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 403, in
File "", line 382, in setup_package
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils_init_.py", line 8, in
from . import ccompiler
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\ccompiler.py", line 17, in
from numpy.distutils import log
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\log.py", line 13, in
from numpy.distutils.misc_util import (red_text, default_text, cyan_text,
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\misc_util.py", line 16, in
from distutils.msvccompiler import get_build_architecture
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The error implies one of your dependencies may no longer be available
The text was updated successfully, but these errors were encountered:
When running the pip install command I get the following output. Is this a known issue?
pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.15.1 (from -r requirements.txt (line 1))
Downloading numpy-1.15.1.zip (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 24.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Running from numpy source directory.
:378: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\misc_util.py:474: SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
return is_string(s) and ('*' in s or '?' is s)
Traceback (most recent call last):
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-1bh843yr\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 403, in
File "", line 382, in setup_package
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils_init_.py", line 8, in
from . import ccompiler
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\ccompiler.py", line 17, in
from numpy.distutils import log
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\log.py", line 13, in
from numpy.distutils.misc_util import (red_text, default_text, cyan_text,
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-0dia48pf\numpy_bc3c0bfae7c74b468a1b4073a41bace4\numpy\distutils\misc_util.py", line 16, in
from distutils.msvccompiler import get_build_architecture
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
David Davison@DESKTOP-GQTFJVV MINGW64 ~/Documents/source/photomosaic (master)
$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.15.1 (from -r requirements.txt (line 1))
Using cached numpy-1.15.1.zip (4.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Running from numpy source directory.
:378: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\misc_util.py:474: SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
return is_string(s) and ('*' in s or '?' is s)
Traceback (most recent call last):
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\David Davison\AppData\Local\Temp\pip-build-env-alaroj4q\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 403, in
File "", line 382, in setup_package
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils_init_.py", line 8, in
from . import ccompiler
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\ccompiler.py", line 17, in
from numpy.distutils import log
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\log.py", line 13, in
from numpy.distutils.misc_util import (red_text, default_text, cyan_text,
File "C:\Users\David Davison\AppData\Local\Temp\pip-install-pjh9qa71\numpy_8ee54c85a01d46aab33aba5f98ea2131\numpy\distutils\misc_util.py", line 16, in
from distutils.msvccompiler import get_build_architecture
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The error implies one of your dependencies may no longer be available
The text was updated successfully, but these errors were encountered: