Stefan Kingsby
Stefan Kingsby

Reputation: 21

How to compile with Cython using a custom version of Python

When I compile a script using Cython, Python 3.6 is used to generate all the necessary files. How can one use a conda environment running Python version 3.5 to compile a Cython .pyx file on Windows?

Upvotes: 1

Views: 588

Answers (1)

Stefan Kingsby
Stefan Kingsby

Reputation: 21

I found the solution. I had accidentaly activated a different Python environment that uses Python version 3.6. Once I activated the right environment, I managed to compile and run my Cython-built program.

Upvotes: 1

Related Questions