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
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[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.
Even when I try installing it manually from the source, I get a long error regarding the cmake library, which is installed.
Processing /home/abha2208/CCL
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /home/abha2208/miniconda3/lib/python3.11/site-packages (from pyccl==3.2.dev1+ga14a7172) (1.26.4)
Building wheels for collected packages: pyccl
Building wheel for pyccl (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyccl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [157 lines of output]
ModuleNotFoundError while trying to load entry-point upload_docs: No module named 'setuptools.command.upload_docs'
running bdist_wheel
running build
running build_py
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
.
.
.
.
.
.
.
File "/tmp/pip-build-env-m2hns2xu/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/tmp/pip-build-env-m2hns2xu/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "", line 53, in run
File "", line 19, in _compile_ccl
Exception: Could not run CMake configuration. Make sure CMake is installed !
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyccl
Failed to build pyccl
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyccl)
It would be of great help if someone could help me out here.
The text was updated successfully, but these errors were encountered:
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[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.
Hello everyone,
I have been trying to install the ccl library in linux but I keep getting an error that
setuptools
is not available.Even when I try installing it manually from the source, I get a long error regarding the
cmake
library, which is installed.It would be of great help if someone could help me out here.
The text was updated successfully, but these errors were encountered: