Florian-Barthel / splatviz

Full python interactive 3D Gaussian Splatting viewer for real-time editing and analyzing.
MIT License
1.15k stars 77 forks source link

conda cannot solve current environment.yml (windows x64) #43

Open soeroesg opened 2 months ago

soeroesg commented 2 months ago

Hi, thanks for your tool! I was trying to set it up but conda fails to solve the dependency conflicts in the current environment.yml

I tried this command: conda env create -f environment.yml

Florian-Barthel commented 2 months ago

Hi thanks for trying out the tool! What error message are you getting?

soeroesg commented 1 month ago

It starts like below and goes on for hundreds of similar errors

conda env create -f environment.yml                                 Collecting package metadata (repodata.json): done                                                    Solving environment: \                                                                               Found conflicts! Looking for incompatible packages.                                                  This can take several minutes.  Press CTRL-C to abort.                                               failed                                                                                                               -                                                                                    Solving environment: |                                                                               Found conflicts! Looking for incompatible packages.                                                  This can take several minutes.  Press CTRL-C to abort.                                               failed                                                                                            -                                                                                                       UnsatisfiableError: The following specifications were found to be incompatible with each other:                                                                                                           Output in format: Requested package -> Available versions                                                                                                                                                 Package libtiff conflicts for:                                                                       pillow=10.3 -> libtiff[version='>=4.2.0,<5.0a0|>=4.6.0,<4.7.0a0']                                    pillow=10.3 -> openjpeg[version='>=2.5.2,<3.0a0'] -> libtiff[version='4.0.*|>=4.0.10,<4.5.0a0|>=4.1.0,<4.5.0a0|>=4.1.0,<5.0a0|>=4.2.0,<4.5.0a0|>=4.4.0,<4.5.0a0|>=4.5.0,<4.6.0a0|>=4.5.0,<5.0a0|>=4.3.0,<4.5.0a0|>=4.0.9,<4.5.0a0|>=4.0.8,<4.0.10|>=4.0.3,<4.0.8|>=4.0.9,<5.0a0']                                                                                                                                   Package harfbuzz conflicts for:                                                                      imageio-ffmpeg=0.5 -> ffmpeg -> harfbuzz[version='>=4.3.0,<5.0a0|>=8.3.0,<9.0a0|>=8.4.0,<9.0a0|>=8.5.0,<9.0a0|>=9.0.0,<10.0a0']                                                                           opencv=4.9 -> libopencv==4.9.0=qt6_py312h5b8f1c0_615 -> harfbuzz[version='>=8.3.0,<9.0a0|>=8.4.0,<9.0a0|>=8.5.0,<9.0a0']                                                                                                                                                                                       Package m2w64-gcc-libs-core conflicts for:                                                           pillow=10.3 -> libxcb[version='>=1.16,<1.17.0a0'] -> m2w64-gcc-libs-core                             pytorch=2.3 -> blas=[build=mkl] -> m2w64-gcc-libs-core                                               numpy[version='<2'] -> blas=[build=mkl] -> m2w64-gcc-libs-core                                                                                                                                            Package expat conflicts for:                                                                         scipy=1.13 -> python[version='>=3.12,<3.13.0a0'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']   pandas=2.2 -> pypy3.9[version='>=7.3.15'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']          opencv=4.9 -> pypy3.9[version='>=7.3.15'] -> expat                                                   pydantic=2.8 -> python[version='>=3.7'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']            imageio=2.34 -> python[version='>=3'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']              numpy[version='<2'] -> pypy3.9[version='>=7.3.15'] -> expat[version='>=2.4.1,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.6.2,<3.0a0|>=2.4.7,<3.0a0']                                          pillow=10.3 -> pypy3.9[version='>=7.3.15'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']         plyfile=1.0 -> python[version='>=3.8'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']             munch=4.0 -> python[version='>=3.8'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']               tqdm=4.66 -> python[version='>=3.7'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']               pip -> python[version='>=3.8,<3.13.0a0'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']           requests=2.31 -> python[version='>=3.7'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']           click=8.1 -> python[version='>=3.8'] -> expat[version='>=2.4.1,<3.0a0|>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']                                                        imageio-ffmpeg=0.5 -> python[version='>=3'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']        pyopengl=3.1 -> python[version='>=2.7'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']            pytorch=2.3 -> python[version='>=3.12,<3.13.0a0'] -> expat[version='>=2.5.0,<3.0a0|>=2.6.2,<3.0a0']                                                                                                       Package pytorch-cuda conflicts for:                                                                  pytorch=2.3 -> pytorch-cuda[version='>=11.8,<11.9|>=12.1,<12.2']                                     pytorch-cuda=11.8      
Florian-Barthel commented 1 month ago

What conda version do you have installed on your machine? This might be solved by updating the conda version:

conda update --all

Also, I am using the libmamba solver for conda. Possibly this helps as well:

conda install -n base conda-libmamba-solver
conda config --set solver libmamba
Florian-Barthel commented 1 month ago

Did this resolve your issue?