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 install environment #45

Open
ulysses500 opened this issue Oct 31, 2023 · 3 comments
Open

Conda install environment #45

ulysses500 opened this issue Oct 31, 2023 · 3 comments

Comments

@ulysses500
Copy link

ulysses500 commented Oct 31, 2023

I have some issues installing the packages.

What is the base environment to make it work?

I use python 3.8 and ubuntu 22.04.2 LTS, and I have several conflict error messages like this one:

Package liblapack conflicts for:
2213.5 pytorch=1.8 -> numpy[version='>=1.19.5,<2.0a0'] -> liblapack[version='3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|>=3.8.0,<4.0.0a0|>=3.8.0,<4.0a0|>=3.9.0,<4.0a0',build='4_mkl|7_mkl|9_mkl|10_mkl|11_mkl|20_mkl|5_mkl|7_mkl|9_mkl|12_linux64_mkl|19_linux64_mkl|16_linux64_mkl|15_linux64_mkl|14_linux64_mkl|13_linux64_mkl|11_linux64_mkl|10_mkl|8_mkl|6_mkl|21_mkl|19_mkl|18_mkl|16_mkl|15_mkl|14_mkl|13_mkl|12_mkl|8_mkl|6_mkl|5_mkl']
2213.5 fvcore -> numpy -> liblapack[version='>=3.8.0,<4.0.0a0|>=3.8.0,<4.0a0|>=3.9.0,<4.0a0']
2213.5 torchvision=0.9.1 -> numpy[version='>=1.18.5,<2.0a0'] -> liblapack[version='>=3.8.0,<4.0.0a0|>=3.8.0,<4.0a0|>=3.9.0,<4.0a0']

...

ERROR: failed to solve: process "/bin/sh -c conda install -c fvcore -c iopath -c conda-forge -c pytorch fvcore iopath pytorch=1.8 torchvision=0.9.1 cudatoolkit=10.1" did not complete successfully: exit code: 1
@imranmu
Copy link

imranmu commented Nov 6, 2023

I used a different set of packages than mentioned in the instructions. If you want to try my list, download the file
requirements.txt and run conda create -n <environment-name> --file requirments.txt
it worked for me on Ubuntu 20.04 and Python 3.11.5.

@Harvey-Mei
Copy link

Hi @imranmu
Thanks for you shared file. but I met some problem
image
Do you have any suggestion for this? : )

@imranmu
Copy link

imranmu commented Jun 20, 2024

This might be related to your issue link

conda config --append channels conda-forge

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

3 participants