Today, there is a wechat SDK library called wechatpy, in which a dependency library is pycrypt
If you directly PIP install wechatpy, you will encounter error: unable to find vcvarsall.bat
Google, a bunch of solutions, are invalid, should be expired
Then I found two good articles
1. It introduces Microsoft Visual C + + compiler for Python 2.7
http://www.microsoft.com/en-us/download/details.aspx?id=44266
2. It introduces that if the version of setuptools is higher than 6.0, the compiler can be searched automatically
http://stackoverflow.com/questions/26140192/microsoft-visual-c-compiler-for-python-2-7
Then, first install 1, then check your own setup tools, version 3.6, and decisively upgrade to 7.0
pipinstall--upgradesetuptools
Then PIP install wechatpy again, everything goes well
Record it
Similar Posts:
- [Solved] No module named extern.six.moves
- IE11 Windows7 F12 DOC Resource Manager Error: Exception in window.onload: Error: An error has ocurredJSPlugin.3005
- Win7 & win10 install ad management tool
- Microsoft Visual C++ 14.0 is required [Two Method to Solve]
- Solve the problem of link: fatal error LNK1104: unable to open the file “d3dx9. Lib”
- Debian pip3 ImportError: cannot import name ‘IncompleteRead’ [How to Solve]
- Python2.7 Install Numpy Error:is not a supported wheel on…
- PHPStorm Run Error: Failed to load JVM DLL
- Solving an error: unable to find vcfarsall.bat experience
- Windows Azure Developer Guidance Map