install cython using anaconda and run cython files

481 views
Skip to first unread message

Daiyue Weng

unread,
Jun 1, 2016, 11:05:25 AM6/1/16
to cython-users

Hi, I have installed Cython using Anaconda. I also use PyCharm with Python 3.5. I have also installed Visual Studio 2015. But when I tried to build the helloworld.pyx from the basic tutorial, I get the following error:

error: Unable to find vcvarsall.bat

I have been followed the instructions given at

https://github.com/cython/cython/wiki/InstallingOnWindows

https://github.com/cython/cython/wiki/CythonExtensionsOnWindows

It seems Python 3.5 works fine with Visual Studio 2015 when compiling Python extensions on Windows. But it didn't work out straight away for me. So how to resolve the problem?


Many thanks

Daiyue Weng

unread,
Jun 1, 2016, 12:54:46 PM6/1/16
to cython-users
The problem has been solved by installing Visual C++ from Visual Studio 2015.
Reply all
Reply to author
Forward
0 new messages