markreidvfx / pyaaf

Python Bindings for the Advanced Authoring Format (AAF)
http://markreidvfx.github.io/pyaaf
MIT License
49 stars 9 forks source link

ImportError: No module named Cython.Build #48

Closed MartinDelille closed 6 years ago

MartinDelille commented 6 years ago

When I try to compile pyaaf, it fails:

$ python setup.py build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 9, in <module>
    from Cython.Build import cythonize
ImportError: No module named Cython.Build
markreidvfx commented 6 years ago

Looks to me like cython is missing, what version of cython do you have installed?

MartinDelille commented 6 years ago
$ cython --version
Cython version 0.28.5
markreidvfx commented 6 years ago

Looks really strange, are you able to run this in python?

from Cython.Build import cythonize

Maybe cython isn't in your PYTHONPATH ?

MartinDelille commented 6 years ago

Ok the problem was that I installed Cython with pip3 and that python --version returns 2.7.10