pip install -v -e .
Using pip 24.0 from /usr/local/miniconda3/envs/grootv/lib/python3.10/site-packages/pip (python 3.10)
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Obtaining file:///groot/GrootV/third-party/TreeScan
Running command python setup.py egg_info
/usr/local/miniconda3/envs/grootv/lib/python3.10/site-packages/torch/cuda/init.py:88: UserWarning: CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525541990/work/c10/cuda/CUDAFunctions.cpp:109.)
return torch._C._cuda_getDeviceCount() > 0
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/groot/GrootV/third-party/TreeScan/setup.py", line 72, in
ext_modules=get_extensions(),
File "/groot/GrootV/third-party/TreeScan/setup.py", line 49, in get_extensions
raise NotImplementedError("Cuda is not available.")
NotImplementedError: Cuda is not available.
error: subprocess-exited-with-error
× python setup.py egg_info 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.
full command: /usr/local/miniconda3/envs/grootv/bin/python -c '
exec(compile('"'"''"'"''"'"'
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
file = %r
sys.argv[0] = file
if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
pip install -v -e . Using pip 24.0 from /usr/local/miniconda3/envs/grootv/lib/python3.10/site-packages/pip (python 3.10) Looking in indexes: https://mirrors.aliyun.com/pypi/simple Obtaining file:///groot/GrootV/third-party/TreeScan Running command python setup.py egg_info /usr/local/miniconda3/envs/grootv/lib/python3.10/site-packages/torch/cuda/init.py:88: UserWarning: CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525541990/work/c10/cuda/CUDAFunctions.cpp:109.) return torch._C._cuda_getDeviceCount() > 0 No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "/groot/GrootV/third-party/TreeScan/setup.py", line 72, in
ext_modules=get_extensions(),
File "/groot/GrootV/third-party/TreeScan/setup.py", line 49, in get_extensions
raise NotImplementedError("Cuda is not available.")
NotImplementedError: Cuda is not available.
error: subprocess-exited-with-error
× python setup.py egg_info 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. full command: /usr/local/miniconda3/envs/grootv/bin/python -c ' exec(compile('"'"''"'"''"'"' import os, sys, tokenize
try: import setuptools except ImportError as error: print( "ERROR: Can not execute
setup.py
since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)file = %r sys.argv[0] = file
if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/groot/GrootV/third-party/TreeScan/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-jn02fx20
cwd: /groot/GrootV/third-party/TreeScan/
Preparing metadata (setup.py) ... error
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. 这是什么问题呢