Sep-04-2020, 10:47 AM
Hi,
I'm trying to compile a test.py file on Windows 10 but the compiler cannot find the module Cython when it's installed.
I ran the cmd terminal w/o admin credentials with no avail.
What am I doing wrong?
TIA
I'm trying to compile a test.py file on Windows 10 but the compiler cannot find the module Cython when it's installed.
I ran the cmd terminal w/o admin credentials with no avail.
What am I doing wrong?
TIA
C:\SharedFiles\Python\Cython>python3 compile.py build_ext --inplace
Traceback (most recent call last):
File "compile.py", line 3, in <module>
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
C:\SharedFiles\Python\Cython>cython -V
Cython version 0.29.21
C:\SharedFiles\Python\Cython>compile.py:#!/usr/bin/env python
from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules=cythonize('sql.py')
)
