Skip to content Skip to sidebar Skip to footer

Importerror: No Module Named 'cython'

I'm trying do from Cython.Build import cythonize and I get the message ImportError: No module named 'Cython', but I instaled the Cython with the comand pip install Cython. What's w

Solution 1:

just directly install from pypi: pip install Cythonhttps://pypi.org/project/Cython/

Solution 2:

Use Pip3 command:

pip3 install --upgrade cython

Solution 3:

I reinstalled the Cython with conda and install the Microsoft Visual C++ Build Tools and it works fine.

Solution 4:

You can download the the newest Cython release from http://cython.org/ or you can directly download by clicking this link here Unpack the tarball or zip file, enter the directory, and then run:

python setup.py install

Solution 5:

it should be path problem. go to windows search for python idle right click idle - open file location where right click on python.exe - open file location if the module not in that location type cmd and press enter in path now install module with pip install cython it will work fine

Post a Comment for "Importerror: No Module Named 'cython'"