longyunf / radiant

21 stars 3 forks source link

Error while installing mmdet3d=0.16.0 #1

Closed stanny880913 closed 1 year ago

stanny880913 commented 1 year ago

when I used pip install mmdet3d=0.16.0,it's always show the error above : File "/root/miniconda/envs/radiant/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

ERROR: Command errored out with exit status 1: /root/miniconda/envs/radiant/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yz71n8at/mmdet3d_641008595515412e82c5ed67b87e0f43/setup.py'"'"'; file='"'"'/tmp/pip-install-yz71n8at/mmdet3d_641008595515412e82c5ed67b87e0f43/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-79pe7mce/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda/envs/radiant/include/python3.6m/mmdet3d Check the logs for full command output.

How to fix it ?! thank you