Yamaneko
Yamaneko

Reputation: 3563

Error when upgrading PyTorch to 0.3.0

I tried to update PyTorch to the recently released 0.3.0,

conda install pytorch=0.3.0 torchvision -c pytorch

But I'm getting the following error:

NoPackagesFoundError: Dependency missing in current linux-64 channels:
 - pytorch 0.3.0* -> mkl >=2018

Upvotes: 2

Views: 983

Answers (2)

Daniil Sorokin
Daniil Sorokin

Reputation: 26

You can also update the condo itself and then try again: conda update conda conda update pytorch -c pytorch

It will use the updated channels and download the latest mil version.

Upvotes: 1

Yamaneko
Yamaneko

Reputation: 3563

If you're using miniconda, mkl is coming from the defaults channels. To update it to 2018, install it from the anaconda channel:

conda install mkl -c anaconda

Upvotes: 2

Related Questions