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.

type object 'cupy.core.core.broadcast' has no attribute '__reduce_cython__'

See original GitHub issue

After a normal chainer and cupy(cupy-cuda100) installation with fresh python 3.7.2,i got following error when running waifu2x-chainer…

D:\waifu2x-chainer-master>python waifu2x.py Traceback (most recent call last): File "waifu2x.py", line 5, in <module> import chainer File "C:\Program Files\Python37\lib\site-packages\chainer\__init__.py", line 21, in <module> from chainer import training # NOQA File "C:\Program Files\Python37\lib\site-packages\chainer\training\__init__.py", line 3, in <module> from chainer.training import updaters # NOQA File "C:\Program Files\Python37\lib\site-packages\chainer\training\updaters\__init__.py", line 1, in <module> from chainer.training.updaters.multiprocess_parallel_updater import MultiprocessParallelUpdater # NOQA File "C:\Program Files\Python37\lib\site-packages\chainer\training\updaters\multiprocess_parallel_updater.py", line 13, in <module> from cupy.cuda import nccl File "C:\Program Files\Python37\lib\site-packages\cupy\__init__.py", line 11, in <module> from cupy import core # NOQA File "C:\Program Files\Python37\lib\site-packages\cupy\core\__init__.py", line 1, in <module> from cupy.core import core # NOQA File "cupy\core\core.pyx", line 2602, in init cupy.core.core AttributeError: type object 'cupy.core.core.broadcast' has no attribute '__reduce_cython__' All packages are automatically installed by wheel. Install cython 0.29.2 does not solve this… Windows 10 1809

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sorenwackercommented, Jul 27, 2019

So, what is the correct way of installing it? I get the same error when using conda. And the cuda toolkit is already installed.

1reaction
eebssk1commented, Jan 28, 2019

i have installed CUDA Toolkit 10 and set C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin in path.Now waifu2x runs properly! i did not know CUDA Toolkit need to be installed before…

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: type object 'cupy.core.core.broadcast' has no ...
core.broadcast' has no attribute 'reduce_cython'" when I tried to run this command 'python -m spacy download en' on my PyCharm Terminal.
Read more >
Cupy Attribute error when running Spacy on GPU - usage
I have installed spacy cuda using the below, to train a model using the GPU, and speed things up. pip install -U spacy[cuda92]...
Read more >
AttributeError: type object 'cupy.core.core.bro...anycodings
I got this error "AttributeError: type programming object 'cupy.core.core.broadcast' has no Learning attribute 'reduce_cython'" when I tried to ...
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