I've been wanting to learn these days . Python for large data processing, but there is a problem with the library file to be expanded, here is a direct demonstration:
1. First download python3.5 or python2.7 on the Python official website ;
2. Here I am using the Python2.7 version , originally python2.6 Version below to install the third-party library files, install both the Pip and setuptool installation library files, the installation of Python2.7 later (including python3-3.5) has been installed automatically for you.
3. Configure environment variables: Python environment variable: (added in path) D:\python;
PIP environment variable (PIP installed under Python's Scripts) D:\python\Scripts;
4. Install a third-party library using PIP:
I. Download third-party library files: XXX.WHL (ipython,numpy,matplotlib,scipy,.....)
XXX.WHL Link URL: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Two. Locate the directory where you downloaded the XXX.WHL file, and locate your download directory file in cmd: CD D: \PYTHON\SCRIPTS\WHL (carriage return)
D: (carriage return) {To you in the installation directory}
Three. First step pip Install wheel (carriage return)
Second step pip install XXX.WHL
If the following interface appears to indicate that the installation library was successful:
5. However, the following conditions have occurred in the installation of Numpy,matpotlib,pandas:
I tried other methods, with Pip to install, a variety of debugging to find information, and finally give up treatment (if you have friends know the reason, please guide you, in the next first thank you), and finally can only adopt the Curve Salvation Strategy: (because I use idepycharm)
The first: Download the Anaconda, which is associated with pycharm through this library. Because the anaconda contains (Numpy,matpotlib,pandas);
The steps are as follows:Anaconda
1. Install Anaconda download Link: https://www.continuum.io/downloads
2. Installing Pycharm
3. Add Anaconda Python.exe to Pycharm's Files>>settings>>project Interpreter>>add Local. After the application, you can invoke various Anaconda libraries.
The second type: download canopy, download it in Canopy (numpy,matpotlib,pandas), and Canopy is also an IDE. Automatically downloads for you, but canopy programming does not pycharm to understand the code thoroughly. canopy:https://www.enthought.com/canopy-subscriptions/. But this download is slow, I have a download here.
(Canpoy 32bit) Baidu Cloud: Link: Http://pan.baidu.com/s/1hsllCcW Password: Diua
Python Library installation