Install the cython module first before running the setup.py file
pip install cython
Rename your .py file to D3M09.pyx for cythonize your file
mv (Your filename.py) D3M09.pyx
Run the setup.py file with the following command
python setup.py build_ext --inplace
Use D3M09.py file for run your cythonize file
You only need to use a file named cython-310.so Carry on
- Good luck