Python Learning (first week)

Source: Internet
Author: User

Java development After graduating from college did not end up on the programmer's path. Engaged in enterprise IT management work (operations, ERP, Finance,). 13 Big data is very hot when contact with the BW, Bo at that time think bi that is big data, now think how superficial ah. Later read the "Money War", "economic principles" and other economic aspects of the book, understand the logic and philosophy to provide direction let me know what to do, statistics, mathematics let me know what method to do. Then, on the Web site to learn about the relevant information, and finally chose to use Python to do the implementation.


The introductory book I chose is the 2nd edition of the basic Python tutorial

At the same time, "data mining: Concept and Technology 3rd Edition" "Introduction to the 3rd edition of the Algorithm" "Software Modeling and Design" "business and economic statistics of the original book 11th edition" and other statistics, linear algebra, discrete mathematics and other books.

Today is April 28, 2016, starting from today, my Python learning. The purpose of blogging is also to urge you to keep going.


Download Python on the official website first

https://www.python.org/

There are Python3.5.1 and Python2.7.11 in the download, check the information that if you do development suggestions download 2.7.11 because the third-party library of Python is version 2 written, I was to learn the choice of 3 version.

Download the direct installation (all the way Next)

Windows only configures the path system environment variable

Installing Setuptools

Download Setuptools-20.10.1.zip to Https://bitbucket.org/pypa/setuptools/downloads

Unzip directly to the C packing directory

CMD in CD to Setuptools directory

Execute python setup.py Install

Installing Pyreadline-2.1.win-amd64.exe

To load https://pypi.python.org/pypi/pyreadline/

Install all the way next


Installing Ipython

Download Ipython-4.2.0.zip to Https://pypi.python.org/pypi/ipython

Unzip directly to the C packing directory

CD to Ipython directory, execute python setup.py install

Set Ipython environment variables, add C:\Python34\Scripts in Path

I thought the environment was installed.

Error


New error after running PIP install Traitlets


Upgrade PIP command: python-m pip install-u pip

I think I am Ann is the reason for Python3, with another computer to reload the Python2 try again is the same mistake.

Baidu Other people's solution is to install Traitlets, ipython_genutils, decorator-4.0.6, pexpect-3.3, pickleshare-0.5, path.py, Setuptools_ scm-1.10.1, simplegeneric-0.8.1

Because it is a beginner python will not be entangled in the ipython of the wrong problem. After getting started, look at the question later.

and learn to use Markdown to write a blog.






Python Learning (first week)

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.