(original) Anaconda installation and version switching in Pycharm

Source: Internet
Author: User

Reference pages:

Http://continuum.io/blog/anaconda-python-3

Http://conda.pydata.org/docs/intro.html#creating-python-3-4-or-python-2-6-environments

Download page:

Http://continuum.io/downloads

Operating environment: Mac OS X 10.10.1

A. Download: Anaconda download from the official page

1. Installing the DMG installation package

2. The default environment is 2.7

Two. Other environment switches

e.g installing Python 3.4

1. Open Terminal input:

Conda create-n py34 python=3.4 Anaconda

2. Click y after the prompt

3. Open Pycharm, open preference-project---Project Interpreter-->add Local (click on the gear on the right)-input/users/yinjiewang/ Anaconda/envs/py34

Three. Test code

Name = input ("pleaseEnter your name:")print ("thename of your Enteredwas", name)

This code will be an error when entering characters in the Python 2.7.8. But in Python 3.4, you can run

(original) Anaconda installation and version switching in Pycharm

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.