Open Greatest-Marx opened 1 month ago
I am in the same situation. I can run it after re-installing.
pip uninstall gsplat
pip install git+https://github.com/nerfstudio-project/gsplat.git@v1.2.0
When building the Docker image, this method does not work and I am looking for a solution.
My enviroment is cuda 11.8, torch 2.1.2, python 3.10
also looking for a solution here.
It works for me.
venv: torch2.1.2 cuda11.8 setuptools 69.5.3 I installed gsplat as the instructions ,but when I run
pip install .
, it gave me an error below: error: subprocess-exited-with-error× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [160 lines of output] Setting MAX_JOBS to 10 running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\gsplat copying gsplat\distributed.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat\profile.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat\relocation.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat\rendering.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat\utils.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat\version.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat_helper.py -> build\lib.win-amd64-cpython-38\gsplat copying gsplat__init.py -> build\lib.win-amd64-cpython-38\gsplat creating build\lib.win-amd64-cpython-38\gsplat\cuda copying gsplat\cuda_backend.py -> build\lib.win-amd64-cpython-38\gsplat\cuda copying gsplat\cuda_torch_impl.py -> build\lib.win-amd64-cpython-38\gsplat\cuda copying gsplat\cuda_wrapper.py -> build\lib.win-amd64-cpython-38\gsplat\cuda copying gsplat\cuda__init.py -> build\lib.win-amd64-cpython-38\gsplat\cuda creating build\lib.win-amd64-cpython-38\gsplat\cuda_legacy copying gsplat\cuda_legacy_backend.py -> build\lib.win-amd64-cpython-38\gsplat\cuda_legacy copying gsplat\cuda_legacy_torch_impl.py -> build\lib.win-amd64-cpython-38\gsplat\cuda_legacy copying gsplat\cuda_legacy_wrapper.py -> build\lib.win-amd64-cpython-38\gsplat\cuda_legacy copying gsplat\cuda_legacy\init__.py -> build\lib.win-amd64-cpython-38\gsplat\cuda_legacy creating build\lib.win-amd64-cpython-38\gsplat\strategy copying gsplat\strategy\base.py -> build\lib.win-amd64-cpython-38\gsplat\strategy copying gsplat\strategy\default.py -> build\lib.win-amd64-cpython-38\gsplat\strategy copying gsplat\strategy\mcmc.py -> build\lib.win-amd64-cpython-38\gsplat\strategy copying gsplat\strategy\ops.py -> build\lib.win-amd64-cpython-38\gsplat\strategy copying gsplat\strategy\init__.py -> build\lib.win-amd64-cpython-38\gsplat\strategy running egg_info writing gsplat.egg-info\PKG-INFO writing dependency_links to gsplat.egg-info\dependency_links.txt writing requirements to gsplat.egg-info\requires.txt writing top-level names to gsplat.egg-info\top_level.txt reading manifest file 'gsplat.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gsplat.egg-info\SOURCES.txt' E:\Anaconda\envs\ns\lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gsplat.cuda.csrc' is absent from the
packages
configuration. !!note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for gsplat Running setup.py clean for gsplat Failed to build gsplat ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (gsplat)
I installed the package in x64 Native Tools Command Prompt for VS 2022 and initiated it in x64, but it still return the error.I tried all methods below this issue, but didnt work. Anybody can save this little boy? 0_0