[Python] Some problems with installing NumPy __python

Source: Internet
Author: User

Recently in the use of Python processing data, need to install numpy,scipy and matplotlib three packages, so download the corresponding Python version of the package, run EXE file execution. Results when running numpy EXE file error:
Python version 3.4 required, which wasn't found in the registry
No, how could you not find the registry location?
It turns out that there's a Python 3.4 directory in Hkey_local_machine\software\python\pyhtoncore,
And under the Hkey_current_user\software\python\pyhtoncore, there is no
So you need to copy the 3.4 directory to Hkey_current_user\software\python\pyhtoncore, how to do it.
1. Will hkey_local_machine\software\python\pyhtoncore\3.4 export, may be set as 3_4.reg
2. Edit 3_4.reg, replace HKEY_LOCAL_MACHINE All to HKEY_CURRENT_USER, click Save
3. Double-click Run 3_4.reg file, now
The Local_current_user\software\python\pyhtoncore should have 3.4 catalogs.

Later found that the NumPy version is not right, under the 32-bit version, and my Python is 64-bit. Therefore numpy cannot be imported. More depressed is in the official website for a long time, Leng did not find 64-bit installation package. With Pip install numpy not, download compressed pack python setup.py install also not, will error unable to find Vcvarsall.bat later or found in this unofficial 64-bit WHL file.
After downloading, locate the folder where the downloaded NUMPY-1.10.0B1+MKL-CP34-NONE-WIN_AMD64.WHL is located, and then run pip install Numpy-1.10.0b1+mkl-cp34-none-win_ AMD64.WHL can be installed

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.