Open ZhangTao-Hub opened 4 weeks ago
It seems that the installation cannot find nvcc, the cuda compiler. Ensure that it is installed and that running, nvcc -v works.
Follow https://nvlabs.github.io/gbrl/quickstart.html, and install gbrl separately before installing the other requirements.
$ pip install gbrl Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/ Collecting gbrl Using cached https://pypi.tuna.tsinghua.edu.cn/packages/24/44/93e399df28ae94e1ca2356ee8e009ca426ff579a27cf1f9d2fc79711b579/gbrl-1.0.4.tar.gz (101 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [94 lines of output] C:\Users\tao\AppData\Local\Temp\pip-install-d3fr8qm4\gbrl_8bf908acf5b34e02adad84a083654af8
running egg_info writing gbrl.egg-info\PKG-INFO writing dependency_links to gbrl.egg-info\dependency_links.txt writing requirements to gbrl.egg-info\requires.txt writing top-level names to gbrl.egg-info\top_level.txt Running command: cmake C:\Users\tao\AppData\Local\Temp\pip-install-d3fr8qm4\gbrl_8bf908acf5b34e02adad84a083654af8 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\tao\AppData\Local\Temp\pip-install-d3fr8qm4\gbrl_8bf908acf5b34e02adad84a083654af8\build\lib.win-amd64-cpython-39\gbrl -DPYTHON_EXECUTABLE=D:\anaconda\envs\py39\python.exe -DPYTHON_INCLUDE_DIR=D:\anaconda\envs\py39\Include -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19042. -- The C compiler identification is MSVC 19.41.34120.0 -- The CXX compiler identification is MSVC 19.41.34120.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Microsoft VS Studio/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - 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: D:/Microsoft VS Studio/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python3: D:/anaconda/envs/py39/python.exe (found version "3.9.0") found components: Interpreter Development Development.Module Development.Embed -- Configured CUDA host compiler: D:/Microsoft VS Studio/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe -- Setting CMAKE_CUDA_COMPILER to C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe CMake Warning at C:/Users/tao/AppData/Local/Temp/pip-build-env-miofkspx/overlay/Lib/site-packages/cmake/data/share/cmake-3.30/Modules/CMakeDetermineCUDACompiler.cmake:15 (message): Visual Studio does not support specifying CUDAHOSTCXX or CMAKE_CUDA_HOST_COMPILER. Using the C++ compiler provided by Visual Studio. Call Stack (most recent call first): CMakeLists.txt:105 (enable_language)
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel 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.