(2019.12.17 resolved) Cython compile ImportError: No module named Cython.Build
As the first program to learn, " Cython Use Case: Output Hello World ", there may be errors like the title.
In the actual file there is
Cython.BuildYes, this is because of environment configuration issues.
How to call Python3 in cmd
Python3, already installed
Cython, but in
CMDcall directly in
Python2.7, and is not installed
Cython, hence the error.
in this machine
py setup . py build_ext - - inplace # replace python setup . py build_ext - - inplace
Still can't solve the problem, because the call here
Python 3.7not yet
Anacondain, therefore, in
Python3.7install again in
Cythonsolve this problem.
py - m pip install Cython # -m means to call the module py setup . py build_ext - - inplace