One, under Windows (two ways)
1. Install the Python edp_free and install the pandas
① If you do not have python2.7 installed, you can directly choose to install the Python edp_free, and then install the pandas and other packages on the line:
Python edp_free website: http://epdfree-7-3-2.software.informer.com/7.3/
Double-click Epd_free-7.3-2-win-x86.msi to install, there is nothing good to say, various click Next.
② run cmd (Command prompt) after installation, enter Python to view the version, and if importerror:no module named site error is present, configure path in the environment variable:
Python installation directory/python installation directory /scripts/
③ installing PIP
Enter the appropriate directory for get-pip.py in cmd: get-pip.py
④ Installation Pandas
PANDAS-0.17.0-CP27-NONE-WIN32.WHL website: https://pypi.python.org/pypi/pandas/0.17.0/
In cmd, enter the appropriate directory for PANDAS-0.17.0-CP27-NONE-WIN32.WHL to execute the following command
Pip Install PANDAS-0.17.0-CP27-NONE-WIN32.WHL
⑤ test whether the installation was successful
Enter the following command in CMD
Ipython--pylab
Import Pandasplot (Arange (10))
The appearance of the tablet is the success:
PS: often easy to appear during installation of Pandas error :' ASCII ' codec can ' t decode byte 0xd5
Workaround: Add in python/lib/site.py
Import sysreload (SYS) sys.setdefaultencoding ('gbk')
2. Install the Pycharm and install the pandas (you can also add a package such as NumPy, the same way)
Download and install Pycharm, and then add Pandas in Pycharm: (The process of installing pycharm is no longer explained)
Open File→settings→project→project interpreter, click on the right Green "+", enter pandas on the Jump page, and click Install Package.
( PS: Problem solving method as above)
Second, under Linux
①linux environment installation is relatively smooth, respectively installed Python,pip,pandas can,
specific process to put a link to everyone: http://blog.csdn.net/qq_34841823/article/details/52180408 (turn);
② or install Pycharn, then add pandas and so on.
Windows/linux installation of Python2.7,pycharm and pandas--"data analysis using Python"