Python mac Environment configuration

Source: Internet
Author: User

1, Mac installation Htmltestrunner, reference: 50555123

Cd/library/python/2.7/site-packages

sudo mkdir htmltestrunner

sudo touch htmltestrunner.py

Copy download htmltestrunner.py module content: http://tungwaiyip.info/software/HTMLTestRunner.html

and create a new __init__.py file, where the Htmltestrunner folder is considered by the Python interpreter to be a referenced module

Import Htmltestrunner can

2, Python install xlrd module 70674253

3, verify the Mac native-mounted Python version, 2.7.10, after the module is available, install Pycharm

Download Http://xclient.info/s/pycharm.html?t=607f34623d47ed1b8125fc5bd7515a28c1cd4f41#versions (2017)

Download cracked version

Registration is now set host:0.0.0.0 account.jetbrains.com

Then http://idea.lanyus.com/this URL to copy the registration code

3,pycharm use

pycharm-->preferences-->project:untitled-->project Interpreter

Python version can be set

Right-click the project name to create a new Python file, print "SS", and click Run.

Python mac Environment configuration

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.