FoundationPose icon indicating copy to clipboard operation
FoundationPose copied to clipboard

pin==2.7.0,Installing build dependencies error,cmeel-boost~=1.83.0

Open erdemtbao opened this issue 9 months ago • 2 comments

why?

Collecting pin==2.7.0 (from -r requirements.txt (line 55)) Using cached pin-2.7.0.tar.gz (61.8 MB) Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [164 lines of output] Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Collecting cmeel-boost~=1.83.0 Using cached cmeel_boost-1.83.0.tar.gz (4.0 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error

    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [140 lines of output]
        -- The C compiler identification is GNU 9.4.0
        -- The CXX compiler identification is GNU 9.4.0
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Check for working C compiler: /usr/bin/cc - skipped
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- 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: /home/erdemt/anaconda3/envs/foundationpose/bin/python (found version "3.9.21") found components: Interpreter Development.Module
        -- CONFIGURE_COMMAND: ./bootstrap.sh;--prefix=/tmp/cmeel-2x2pxdbp/whl/cmeel.prefix
        -- BUILD_COMMAND: ./b2;hardcode-dll-paths=true;dll-path='$ORIGIN';link=shared;python=3.9
        -- Configuring done (0.6s)
        -- Generating done (0.0s)
        CMake Warning:
          Manually-specified variables were not used by the project:
  
            BUILD_TESTING
            Boost_NO_WARN_NEW_VERSIONS
            CMAKE_APPLE_SILICON_PROCESSOR
            CMAKE_INSTALL_LIBDIR
            CMEEL_JOBS
            PYTHON_SITELIB
  
  
        -- Build files have been written to: /tmp/cmeel-2x2pxdbp/bld
        [ 12%] Creating directories for 'Boost'
        [ 25%] Performing download step (download, verify and extract) for 'Boost'
        -- Downloading...
           dst='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
           timeout='none'
           inactivity timeout='none'
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 9% complete]
        -- [download 22% complete]
        -- [download 58% complete]
        -- [download 70% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 58% complete]
        -- [download 70% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 9% complete]
        -- [download 58% complete]
        -- [download 70% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 58% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 58% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        -- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2'
        -- [download 100% complete]
        -- [download 58% complete]
        -- [download 100% complete]
        -- verifying file...
               file='/tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2'
        -- SHA256 hash of
            /tmp/cmeel-2x2pxdbp/bld/Boost-prefix/src/boost_1_83_0.tar.bz2
          does not match expected value
            expected: '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
              actual: '79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848'
        -- Hash mismatch, removing...
        CMake Error at Boost-stamp/download-Boost.cmake:163 (message):
          Each download failed!
  
  
  
  
  
        CMakeFiles/Boost.dir/build.make:100: recipe for target 'Boost-prefix/src/Boost-stamp/Boost-download' failed
        make[2]: *** [Boost-prefix/src/Boost-stamp/Boost-download] Error 1
        CMakeFiles/Makefile2:86: recipe for target 'CMakeFiles/Boost.dir/all' failed
        make[1]: *** [CMakeFiles/Boost.dir/all] Error 2
        Makefile:135: recipe for target 'all' failed
        make: *** [all] Error 2
        Traceback (most recent call last):
          File "/home/erdemt/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
            main()
          File "/home/erdemt/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 "/home/erdemt/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel
            whl_basename = backend.build_wheel(metadata_directory, config_settings)
          File "/tmp/pip-build-env-s6gp1r1s/overlay/lib/python3.9/site-packages/cmeel/build.py", line 26, in build_wheel
            return build_impl(wheel_directory, editable=False)
          File "/tmp/pip-build-env-s6gp1r1s/overlay/lib/python3.9/site-packages/cmeel/impl.py", line 105, in build_impl
            check_call(build_cmd)
          File "/home/erdemt/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call
            raise CalledProcessError(retcode, cmd)
        subprocess.CalledProcessError: Command '['cmake', '--build', '/tmp/cmeel-2x2pxdbp/bld', '-j4']' returned non-zero exit status 2.
        [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.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

erdemtbao avatar Mar 28 '25 11:03 erdemtbao

I've encountered the same problems when install python package in Linux system, so have you solved it? Looking forward to your reply

strongBrave avatar Apr 18 '25 15:04 strongBrave

you can use this link to download the .whl file for installing

gaobh1202 avatar May 13 '25 06:05 gaobh1202