Windows/linux installation of Python2.7,pycharm and pandas--"data analysis using Python"

Source: Internet
Author: User
Tags win32 install pandas

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"

Related Article

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.