Problems installing CuPy on latest Anaconda

592 views
Skip to first unread message

layt...@gmail.com

unread,
Nov 18, 2020, 2:02:36 PM11/18/20
to CuPy User Group
Hello,

I hope I'm not in the wrong group. I'm trying to install cupy on my fresh Anaconda (2020.07) install and I'm getting the following errors:


$ conda install -c anaconda cupy
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
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 the existing python installation in your environment:

Specifications:

  - cupy -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

I'm guessing that there is no build of cupy for 3.8?

Thanks!

Jeff

Leo Fang

unread,
Nov 18, 2020, 4:47:37 PM11/18/20
to CuPy User Group
Hi Jeff,

We now recommend users to install from the Conda-Forge channel instead of Anaconda's. You can do:
$ conda install -c conda-forge cupy
and if you need to constrain the cudatoolkit version (for example, 10.0), you can do 
$ conda install -c conda-forge cupy cudatoolkit=10.0
Currently 11.0 is not available yet, but we're almost there.

Best,
Leo

layt...@gmail.com 在 2020年11月18日 星期三下午2:02:36 [UTC-5] 的信中寫道:

layt...@gmail.com

unread,
Nov 19, 2020, 9:20:53 AM11/19/20
to CuPy User Group
Thanks! that worked perfectly.

Jeff
Reply all
Reply to author
Forward
0 new messages