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 · 4 comments
Open

Conda install environment #45

ulysses500 opened this issue Oct 31, 2023 · 4 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

@qinghew
Copy link

qinghew commented Nov 5, 2024

This might be related to your issue link

conda config --append channels conda-forge

I still meet the problem after "conda config --append channels conda-forge".
Channels:

  • defaults
  • conda-forge
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • yacs==0.1.8=pypi_0
  • werkzeug==2.3.7=pypi_0
  • tqdm==4.66.1=pypi_0
  • torchvision==0.15.2=py311_cu117
  • torchtriton==2.0.0=py311
  • torchaudio==2.0.2=py311_cu117
  • termcolor==2.3.0=pypi_0
  • tensorboard-data-server==0.7.1=pypi_0
  • tensorboard==2.14.0=pypi_0
  • tabulate==0.9.0=pypi_0
  • rsa==4.9=pypi_0
  • requests-oauthlib==1.3.1=pypi_0
  • pyyaml==6.0.1=pypi_0
  • pytorch3d==0.7.4=dev_0
  • pytorch-mutex==1.0=cuda
  • pytorch-cuda==11.7=h778d358_5
  • pytorch==2.0.1=py3.11_cuda11.7_cudnn8.5.0_0
  • pycocotools==2.0.7=pypi_0
  • pyasn1-modules==0.3.0=pypi_0
  • pyasn1==0.5.0=pypi_0
  • protobuf==4.24.3=pypi_0
  • portalocker==2.7.0=pypi_0
  • platformdirs==3.10.0=pypi_0
  • pathspec==0.11.2=pypi_0
  • opencv-python==4.8.0.76=pypi_0
  • omegaconf==2.3.0=pypi_0
  • oauthlib==3.2.2=pypi_0
  • mypy-extensions==1.0.0=pypi_0
  • matplotlib==3.7.3=pypi_0
  • markdown==3.4.4=pypi_0
  • libnvjpeg==11.8.0.2=0
  • libnpp==11.7.4.75=0
  • libcusparse==11.7.4.91=0
  • libcusolver==11.4.0.1=0
  • libcurand==10.3.3.141=0
  • libcufile==1.7.2.10=0
  • libcufft==10.7.2.124=h4fbf590_0
  • libcublas==11.10.3.66=0
  • kiwisolver==1.4.5=pypi_0
  • iopath==0.1.9=pypi_0
  • hydra-core==1.3.2=pypi_0
  • grpcio==1.58.0=pypi_0
  • google-auth-oauthlib==1.0.0=pypi_0
  • google-auth==2.23.0=pypi_0
  • fvcore==0.1.5.post20221221=pypi_0
  • fonttools==4.42.1=pypi_0
  • ffmpeg==4.3=hf484d3e_0
  • detectron2==0.6=pypi_0
  • cython==3.0.2=pypi_0
  • cuda-runtime==11.7.1=0
  • cuda-nvtx==11.7.91=0
  • cuda-nvrtc==11.7.99=0
  • cuda-libraries==11.7.1=0
  • cuda-cupti==11.7.101=0
  • cuda-cudart==11.7.99=0
  • contourpy==1.1.0=pypi_0
  • cloudpickle==2.2.1=pypi_0
  • click==8.1.7=pypi_0
  • cachetools==5.3.1=pypi_0
  • black==23.9.1=pypi_0
  • antlr4-python3-runtime==4.9.3=pypi_0
  • absl-py==1.4.0=pypi_0

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

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

4 participants