`pip install cupy` is not correcly installing cupyx
See original GitHub issueI’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:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It is not intended but
cupy.cupyxis there just becausecupy/__init__.pyhas the lineimport cupyx, which is similar tonumpy.sysis the built-insysmodule.We discussed and it is better to avoid exposing
cupy.cupyxas it is confusing. @toslunar will send a PR to fix this issue. @toslunar Could you close this issue after sending PR?