Not "Easy" easy_install-Windows or Linux?

Source: Internet
Author: User

There is a legend that Easy_install can be used to easily install other Python toolkits, but it is not convenient during my actual installation process (at least my computer is).
1. WindowsUnder Install Easy_install (both 32 and 64 bits are the same ez_setup.py installation script): First, you may encounter problems
The reason is that some of the domestic software installed after the modification of the registry caused by the library can not be installed, you need to modify the Python lib directory files, see http://bitbucket.org/pypa/setuptools/issue/127/ Unicodedecodeerror-when-install-in-windows
Then, you need to use Easy_install "convenient" to install other Python packages, most of the packages can be installed through Easy_install, but some are not, such as the installation of the Natural Language Processing toolkit Gensim. Gensim This package depends on NumPy and scipy, the SciPy (NumPy previously installed EXE), will encounter the following problems, should still be missing the dependency package
It is recommended that you do not have time to find the EXE version of the installation alone. If there is perseverance to solve can be consulted: Http://stackoverflow.com/questions/7496547/python-scipy-needs-blas but notice, there is a pit daddy's, Is scipy can not install more than 10.0 version, because the high version of the Maxentropy module, which will cause gensim can not be used, so still want to use 10.0 version (10.0 should also be possible).
Note : 64-bit looking for numpy and scipy EXE also to find separately, the official only 32-bit version.
Finally, installing the Gensim package usually prompts you for the following issues, as the VS2008 compiler is not found
Need to download and configure the MinGW in environment variables, configuration modifications see: Http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
However, swapping with MinGW may cause the following problems
This crash problem I have no solution on the computer, and finally give up. Unfortunately, on some computers can be installed smoothly will not encounter the above mentioned so much trouble.
2. LinuxInstalling Easy_install is a lot easier, then installing the package is fine. The only possible scenario under Linux is that installing Easy_install sometimes reports Importerror errors, and it's easy to refer to the StackOverflow solution: http://stackoverflow.com/questions/6012246 /why-is-python-easy-install-not-working-on-my-mac

Summary:From the above installation record process, you can draw a deep two conclusions: 1) in the use of open source tools, it is strongly recommended to use the Linux system instead of searching for "xxx in Windows installation Method", the process often encounter many inexplicable problems, find the answer to all the problems are sometimes so difficult! Similar to this easy_install installation Gensim experience, the previous time to try to install under Windows Nutch Open-source crawler tools, the same is a waste of two or three days, encountered and deal with various problems, the final result is-not installed!!! And when switching to Linux, the installation became much smoother, the experience of these several times I made up my mind, and later to use Open Source Tools, be sure to use Linux, absolutely no windows
2) StackOverflow This site to solve the problem of programmers is really the most reliable, than Baidu out of all kinds of nonsense to be more reliable.

Not "Easy" easy_install-Windows or Linux?

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.