Build the python + PyCharm environment using the API, and use pythonpycharm

Source: Internet
Author: User

Build the python + PyCharm environment using the API, and use pythonpycharm

1.Configure Python Environment Variables

A: My computer> Properties> advanced system Settings> environment variables> PATH variables in system variables.

Variable name: PATH variable value:; C: \ Python27 (Python installation directory)

B: verify whether the configuration is successful: Open cmd and enter the command python Press enter. If the following text is displayed, the command is successful.

C: \ Users \ Administrator> python

Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>>

2. InstallSetuptools

Find the path of setuptools In the cmd window, and enter the following command: python setup. py install to install

3. Install pip

Find the pip path in the cmd window and enter the following command: python setup. py install

Enter the C: \ Python27 \ Scripts directory and enter the command esay_install pip (this step is not required)

3. Install the xlrd Library

In the cmd window, enter the following command cd C: \ Python27 \ Scripts

Pip install xlrd

4. Install the PyCharm tool.

 

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.