(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main#
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /root/anaconda3/envs/foundationpose/bin/python3.9 (found suitable version "3.9.23", minimum required is "3.8") found components: Interpreter Development Development.Module Development.Embed
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /root/anaconda3/envs/foundationpose/include (found version "2.13.6")
-- Configuring done (3.5s)
CMake Error at /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython/Support.cmake:4331 (add_library):
Cannot find source file:
src/file_io.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
Call Stack (most recent call first):
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython3.cmake:643:EVAL:2 (__Python3_add_library)
/root/anaconda3/envs/foundationpose/share/cmake/pybind11/pybind11NewTools.cmake:269 (python3_add_library)
CMakeLists.txt:32 (pybind11_add_module)
CMake Error at /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython/Support.cmake:4331 (add_library):
No SOURCES given to target: mycpp
Call Stack (most recent call first):
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython3.cmake:643:EVAL:2 (__Python3_add_library)
/root/anaconda3/envs/foundationpose/share/cmake/pybind11/pybind11NewTools.cmake:269 (python3_add_library)
CMakeLists.txt:32 (pybind11_add_module)
CMake Generate step failed. Build files cannot be regenerated correctly.
Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda
Preparing metadata (setup.py) ... done
Installing collected packages: common
DEPRECATION: Legacy editable install of common==0.0.0 from file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
Running setup.py develop for common
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [83 lines of output]
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags'
warnings.warn(msg)
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags'
warnings.warn(msg)
running develop
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``develop``.
Instead, use standards-based tools like pip or uv.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 12, in <module>
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable 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.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module>
setup(
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup
return distutils.core.setup(**attrs)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [83 lines of output]
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags'
warnings.warn(msg)
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags'
warnings.warn(msg)
running develop
/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``develop``.
Instead, use standards-based tools like pip or uv.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 12, in <module>
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable 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.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module>
setup(
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup
return distutils.core.setup(**attrs)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
最新发布