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?
1 Answer
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.
1 Comment
eliangius
This solution also worked for me on a MacOS by launching an app I know uses my specific python version. Tho wondering if there's a programatic or pythonic way of doing this within the venv project itself.
activate <your_env_name>