Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda package conflict #29

Open
harrysdc opened this issue Jan 23, 2024 · 1 comment
Open

conda package conflict #29

harrysdc opened this issue Jan 23, 2024 · 1 comment

Comments

@harrysdc
Copy link

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package _python_rc conflicts for:
pip=22.3.1 -> python[version='>=3.7'] -> _python_rc
tqdm=4.65.0 -> python[version='>=3.7'] -> _python_rc

Package openblas conflicts for:
torchaudio=0.12.1 -> numpy[version='>=1.11'] -> openblas[version='0.2.20|0.2.20.|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0']
torchvision=0.13.1 -> numpy[version='>=1.11'] -> openblas[version='0.2.20|0.2.20.
|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0']

Package ucrt conflicts for:
pytorch=1.12.1 -> cudatoolkit[version='>=11.3,<11.4'] -> ucrt[version='>=10.0.20348.0']
pillow=9.4.0 -> ucrt[version='>=10.0.20348.0']
cudatoolkit=11.6 -> ucrt[version='>=10.0.20348.0']
torchaudio=0.12.1 -> cudatoolkit[version='>=11.6,<11.7'] -> ucrt[version='>=10.0.20348.0']
torchvision=0.13.1 -> cudatoolkit[version='>=11.6,<11.7'] -> ucrt[version='>=10.0.20348.0']
python=3.7.13 -> openssl[version='>=1.1.1q,<1.1.2a'] -> ucrt[version='>=10.0.20348.0']
tqdm=4.65.0 -> python[version='>=3.7'] -> ucrt[version='>=10.0.20348.0']
pip=22.3.1 -> python[version='>=3.7'] -> ucrt[version='>=10.0.20348.0']

Package pip conflicts for:
pytorch=1.12.1 -> python[version='>=3.7,<3.8.0a0'] -> pip
python=3.7.13 -> pip
torchaudio=0.12.1 -> python[version='>=3.9,<3.10.0a0'] -> pip
torchvision=0.13.1 -> python[version='>=3.9,<3.10.0a0'] -> pip
pillow=9.4.0 -> python[version='>=3.10,<3.11.0a0'] -> pip
tqdm=4.65.0 -> python[version='>=3.7'] -> pip
pip=22.3.1

Package vs2015_runtime conflicts for:
cudatoolkit=11.6 -> vs2015_runtime[version='>=14.16.27033|>=14.29.30139']
cudatoolkit=11.6 -> vc[version='>=14.2,<15'] -> vs2015_runtime[version='>=14.15.26706|>=14.16.27012|>=14.27.29016|>=14.28.29325|>=14.32.31332|>=14.34.31931|>=14.29.30037']

Package pypy3.8 conflicts for:
pillow=9.4.0 -> pypy3.8[version='>=7.3.11|>=7.3.9']
tqdm=4.65.0 -> python[version='>=3.7'] -> pypy3.8[version='7.3.11.|7.3.9.|7.3.8.']
torchvision=0.13.1 -> numpy[version='>=1.11'] -> pypy3.8[version='7.3.11.
|>=7.3.11|>=7.3.9|>=7.3.8|7.3.9.|7.3.8.']
pillow=9.4.0 -> python[version='>=3.8,<3.9.0a0'] -> pypy3.8[version='7.3.|7.3.11.|7.3.9.|7.3.8.']
pytorch=1.12.1 -> python[version='>=3.8,<3.9.0a0'] -> pypy3.8[version='7.3.11.|7.3.9.|7.3.8.|>=7.3.9|>=7.3.8|>=7.3.11']
pip=22.3.1 -> python[version='>=3.7'] -> pypy3.8[version='7.3.11.
|7.3.9.|7.3.8.|>=7.3.9|>=7.3.8']
torchaudio=0.12.1 -> numpy[version='>=1.11'] -> pypy3.8[version='7.3.11.|>=7.3.11|>=7.3.9|>=7.3.8|7.3.9.|7.3.8.*']

Package cudatoolkit conflicts for:
pytorch=1.12.1 -> cudatoolkit[version='>=11.3,<11.4|>=11.6,<11.7']
cudatoolkit=11.6
torchvision=0.13.1 -> cudatoolkit[version='>=11.3,<11.4|>=11.6,<11.7']
torchaudio=0.12.1 -> cudatoolkit[version='>=11.3,<11.4|>=11.6,<11.7']
torchvision=0.13.1 -> pytorch -> cudatoolkit[version='>=10.1,<10.2|>=10.2,<10.3|>=11.1,<11.2|>=11.5,<11.6|>=11.0,<11.1|>=9.2,<9.3']

Package packaging conflicts for:
python=3.7.13 -> pip -> packaging
pip=22.3.1 -> wheel -> packaging[version='>=20.2']

Package m2w64-gcc-libs conflicts for:
pillow=9.4.0 -> libxcb[version='>=1.13,<1.14.0a0'] -> m2w64-gcc-libs
pytorch=1.12.1 -> blas=[build=mkl] -> m2w64-gcc-libs

Package certifi conflicts for:
pip=22.3.1 -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
torchvision=0.13.1 -> requests -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']

Package pytorch conflicts for:
pytorch=1.12.1
torchvision=0.13.1 -> pytorch==1.12.1
torchaudio=0.12.1 -> pytorch==1.12.1

Package setuptools conflicts for:
torchvision=0.13.1 -> setuptools
python=3.7.13 -> pip -> setuptools
pip=22.3.1 -> setuptools

Package vs2008_runtime conflicts for:
tqdm=4.65.0 -> python[version='>=2.7'] -> vs2008_runtime
pytorch=1.12.1 -> ninja -> vs2008_runtime

Package expat conflicts for:
pillow=9.4.0 -> pypy3.9[version='>=7.3.11'] -> expat[version='>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0']
tqdm=4.65.0 -> python[version='>=3.7'] -> expat[version='>=2.5.0,<3.0a0']
pip=22.3.1 -> python[version='>=3.7'] -> expat[version='>=2.5.0,<3.0a0']

Package colorama conflicts for:
tqdm=4.65.0 -> colorama
python=3.7.13 -> pip -> colorama

Package requests conflicts for:
torchvision=0.13.1 -> requests
python=3.7.13 -> pip -> requests

Package flit-core conflicts for:
pytorch=1.12.1 -> typing_extensions -> flit-core[version='>=3.6,<4']
torchvision=0.13.1 -> typing_extensions -> flit-core[version='>=3.6,<4']

Package vc14_runtime conflicts for:
cudatoolkit=11.6 -> vc14_runtime[version='>=14.29.30139']
cudatoolkit=11.6 -> vc[version='>=14.2,<15'] -> vc14_runtime[version='>=14.16.27033|>=14.28.29325|>=14.32.31332|>=14.36.32532|>=14.38.33130|>=14.34.31931']

Package pillow conflicts for:
torchvision=0.13.1 -> pillow[version='>=5.3.0,!=8.3.*']
pillow=9.4.0
Note that strict channel priority may have removed packages required for satisfiability.

@agentsimon
Copy link

Did this occur when you ran conda env create --file environment.yml after running the git clone [email protected]:JonathonLuiten/Dynamic3DGaussians.git command?
It looks like you have Cuda 11.6 installed and it might be best to remove the current Cuda installation and install one that matches a version for the torch pip installer at https://pytorch.org/get-started/locally.

Create another conda env and install the version of torch to match your Cuda installation in the new conda enviroment. I used conda create -n splats python=3.10 for my Cuda 12.4 installation. After the conda enviroment was created I activated it and ran pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124. Then I ran pip install tqdm, pip install pillow and pip install open3d in the same conda enviroment.
Now you should be able to install rendering code (cuda).

Install rendering code (cuda)

git clone [email protected]:JonathonLuiten/diff-gaussian-rasterization-w-depth.git
cd diff-gaussian-rasterization-w-depth
python setup.py install
pip install .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants