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
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
Running from numpy source directory.
:460: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
Traceback (most recent call last):
File "/mydir/envs/py311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/mydir/py311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mydir/py311/lib/python3.11/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 "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 373, in prepare_metadata_for_build_wheel
self.run_setup()
File "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 489, in
File "", line 465, in setup_package
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/core.py", line 24, in
from numpy.distutils.command import config, config_compiler,
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/command/config.py", line 19, in
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/mingw32ccompiler.py", line 28, in
from distutils.msvccompiler import get_build_version as get_build_msvc_version
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.
The text was updated successfully, but these errors were encountered:
Then running the pip install -e ./dso should work.
Note:
TensorFlow 1.14 requires protobuf version 3.20.x or lower, so you might need to downgrade the protobuf version: pip install protobuf==3.20.*
Im Trying to install the library in ubuntu and I get the following error:
Preparing metadata (setup.py) ... done
Collecting pytest (from dso==1.0.dev0)
Using cached pytest-8.3.3-py3-none-any.whl.metadata (7.5 kB)
Collecting cython (from dso==1.0.dev0)
Using cached Cython-3.0.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Collecting numpy<=1.19 (from dso==1.0.dev0)
Using cached numpy-1.19.0.zip (7.3 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
╰─> [26 lines of output]
Running from numpy source directory.
:460: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
Traceback (most recent call last):
File "/mydir/envs/py311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/mydir/py311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mydir/py311/lib/python3.11/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 "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 373, in prepare_metadata_for_build_wheel
self.run_setup()
File "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-6kgpuoqr/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 489, in
File "", line 465, in setup_package
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/core.py", line 24, in
from numpy.distutils.command import config, config_compiler,
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/command/config.py", line 19, in
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/tmp/pip-install-pvr29wjb/numpy_d7f2775fbb8746b79f35f38c2837a710/numpy/distutils/mingw32ccompiler.py", line 28, in
from distutils.msvccompiler import get_build_version as get_build_msvc_version
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.
The text was updated successfully, but these errors were encountered: