question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`pip install cupy` is not correcly installing cupyx

See original GitHub issue

I’m installing cupy on a windows 10 machine running 3.7.3 and cuda 9.0. I’ve installed cupy successfully using pip install cupy-cuda90, in that the installation ends without error and I can use basic cupy functions. But when I try to get into the scipy packages, I find that some of them aren’t installing on my machine (ex: scipy.ndimage.filters) and none of the scipy modules can be loaded.

 >>> cp.cupyx.scipy.ndimage
  AttributeError: module 'cupyx.scipy' has no attribute 'ndimage'

I’m also getting this error:

     >>> import cupy.cupyx.scipy as s
     ModuleNotFoundError: No module named 'cupy.cupyx'

but this works:

      from cupy import cupyx
      from cupyx import scipy

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
toslunarcommented, Nov 20, 2019

It is not intended but cupy.cupyx is there just because cupy/__init__.py has the line import cupyx, which is similar to numpy.sys is the built-in sys module.

0reactions
kmaehashicommented, Nov 26, 2019

We discussed and it is better to avoid exposing cupy.cupyx as it is confusing. @toslunar will send a PR to fix this issue. @toslunar Could you close this issue after sending PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: CuPy is not correctly installed. · Issue #1073
Hi, I'm using python 3.6.4(anaconda version) and pip command to install the cupy, but when i try to import cupy, it throws the...
Read more >
Installation — CuPy 11.4.0 documentation
pip fails to install CuPy# ... If you are using certain versions of conda, it may fail to build CuPy with error g++:...
Read more >
I cannot install cupy with pip - Stack Overflow
I have attached the error message because I have no idea where to start with it. I have tried updating setuptools ...
Read more >
CuPy is not correctly installed | Data Science and Machine ...
Hi there, I'm using a notebook kernel. When I execute !pip install cupy in a block it runs smoothly, being told that it...
Read more >
Installing CuPy - OLCF User Documentation
This installation will use the system GCC /usr/bin/gcc which is currently 8.3.1. $ CC=gcc NVCC=nvcc pip install --no-binary=cupy cupy. Now, everytime ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found