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

Installation Error,Packages not found #281

Open
eric31512 opened this issue Apr 27, 2023 · 7 comments
Open

Installation Error,Packages not found #281

eric31512 opened this issue Apr 27, 2023 · 7 comments

Comments

@eric31512
Copy link

I don't know how to fix it

C:\Users\User>conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.0 -c pytorch -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  • torchvision==0.5.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.

@mr-sudo
Copy link

mr-sudo commented May 19, 2023

Hey any luck? I'm experiencing the same thing

@cyberlife64
Copy link

Same problem with me, you got it working?

@mr-sudo
Copy link

mr-sudo commented May 30, 2023

No luck on my end 🫠

@mr-sudo
Copy link

mr-sudo commented May 30, 2023

No luck on my end 🫠, I ended up having trouble with running due to the specs on my machine in general, although one thing that seemed to help progress things a bit was trying to install these packages through pip instead

@Panos-Jr
Copy link

Panos-Jr commented May 30, 2023

Installing with pip is a possible option, have you considered conda update --all? It could possibly work, I’m not sure.

@cyberlife64
Copy link

Installing with pip is a possible option, have you considered conda update --all? It could possibly work, I’m not sure.

Updating doesn't work as well, I tried that already

@carlosaln
Copy link

carlosaln commented Mar 18, 2024

Here's what initially worked for me:

pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
conda install cudatoolkit=10.0

However, this installs old versions of the torch libraries, which are incompatible with the latest Nvidia NCCL library, so you'll just get an error further down the road. What I ended up doing (which works) is I installed the latest libaries for everything. Taking the instructions in the main README, that would look something like:

# Required: Sampling
conda create --name jukebox python=3.11.8
conda activate jukebox
pip3 install mpi4py
pip3 install torch torchvision torchaudio
conda install cudatoolkit
git clone https://github.com/openai/jukebox.git
cd jukebox
pip install -r requirements.txt
pip install -e .

# Required: Training
conda install av -c conda-forge 
pip install ./tensorboardX

Note I am not a AI/ML expert but do know my way around a terminal, and this worked. Perhaps I could have used conda/pip for everything, but that's just how I ended up doing things. Your results may vary.

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

5 participants