Closed ShangQingLiu closed 1 month ago
seems related https://github.com/NVlabs/FoundationPose/issues/35
I have tried to follow the setting on #35, unfortunately it still failed.
It is not solved by changing the c++17
I have tried to follow the setting on #35, unfortunately it still failed.
did you run build_all_conda.sh directly instead of manual installation? Also do you have this error if you use docker?
I have tried both run build_all_conda.sh or by look into the bash code in build_all_conda.sh run line by line.
For docker, due to personal privilege issue I am still under apply to, so unfortunately I could not give a try now.
/homeL/1sliu/FoundationPose/bundlesdf/mycuda/build/temp.linux-x86_64-cpython-39/bindings.o
Maybe the temp.linux-x86_64-cpython-39
folder implies the wrong location?
The temp.linux-x86_64-cpython-39
is actually over there, I think it generated while it build. I am still looking into the error. I would quickly run another machine to try docker option this week.
Environment: Ubuntu 20.04, CUDA11.8, RTX3090, gcc=9.4.0, g++=9.4.0
Problem: Using instruction install conda environment on the last step: (foundationpose) 1sliu@tamsGPU4:~/FoundationPose/bundlesdf/mycuda$ python -m pip install -e . Obtaining file:///homeL/1sliu/FoundationPose/bundlesdf/mycuda Preparing metadata (setup.py) ... done Installing collected packages: common Attempting uninstall: common Found existing installation: common 0.1.2 Uninstalling common-0.1.2: Successfully uninstalled common-0.1.2 Running setup.py develop for common error: subprocess-exited-with-error
Rolling back uninstall of common Moving to /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/common-0.1.2.dist-info/ from /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/~ommon-0.1.2.dist-info Moving to /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/common/ from /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/~ommon error: subprocess-exited-with-error
× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [52 lines of output] /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'extra_cflags' warnings.warn(msg) /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'extra_cuda_cflags' warnings.warn(msg) running develop /homeL/1sliu/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
note: This error originates from a subprocess, and is likely not a problem with pip.
Progress: I look into the code and find the problem is about installing the bundlesdf, do you have any idea why their were two object file missing as bindings.o and common.o?