Tuesday, 29 October 2013

Fix some errors when install library Python in Window

When you install some library in pip/easy_install like pycrypto or library need pycrypto like paramiko, virtualenv ...
Always I meet this stupid error:

Unable to find vcvarsall.bat
Search google, I find some solutions like install visual studio, mingw32 ... because pip or easy_install  will download source code of library and need compiler to compile library.

Above solutions are good, but need many memory to install visual studio, mingw32 and many time to config.

Today, I will introduce a very simple way: this is install compiled library.
Search google with "pycrypto windows 2.7 setup"
We can find "Prebuilt Python Binaries for Windows"
http://www.voidspace.org.uk/python/modules.shtml

Install and use, really easy !!!

No comments:

Post a Comment