0

Hi trying to implement cython however I do not get a helloworld.pyd file in my directory when I build the cython file. I am running on Windows 10.19043, python version 3.7.9 , cython version 0.29.28 . How would I be able to fix this issue and get the .pyd file on windows 10.

Contents of helloworld.pyx

print("Hello World")

Contents of setup.py:

from setuptools import setup
from Cython.Build import cythonize

setup(
    ext_modules = cythonize("helloworld.pyx")
)

Used command on cmd to build the Cython file

$ python setup.py build_ext --inplace

Directory:

Image of the directory build

cream er
  • 67
  • 6

0 Answers0