instal cython

pip install Cython

Here is what the above code is Doing:
1. We’re importing the Cython module.
2. We’re creating a new file called setup.py.
3. We’re adding the following code to the setup.py file:
a. from distutils.core import setup
b. from Cython.Build import cythonize
c. setup(ext_modules = cythonize(“hello.pyx”))
4. We’re running the setup.py file.
5. We’re importing the hello module.
6. We’re running the hello module.