Windows 64-bit under install Psyco 1.6

Source: Internet
Author: User

When running Python with Eclipse, the first line always has a red hint: The Psyco is not installed, the program can run normally but it will be a little slow. So just put it on, the red hint or the less the more comfortable.

Baidu a bit, here, http://sourceforge.net/projects/psyco/files/psyco/1.6/, under the first EXE, but open will error, estimated because 32-bit problem. In other places also under a few, are the same.

Then notice the second compressed package, down to find the installation package that needs to be compiled, and then run a bit:

setup.py Install

Error, unable to find Vcvarsall.bat, can only continue Baidu. The process does not say, directly say the result, the reason seems to be a lack of gcc or something, the first time installed a MinGW, and then install GCC, and error.

Later found this: https://github.com/develersrl/gccwinbinaries, the installation path is C:/MINGW, and then add C:/mingw/bin in the environment variable path.

Finally, in the Python installation directory d:/python26/lib/distutils find distutils.cfg, if not the new one, edit the content:

[Build]compiler=mingw32

Save, reopen cmd (as if it were reopened once, the environment variable will take effect), run the installation, done!

Windows 64-bit under install Psyco 1.6

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.