Pycharm and installation of NumPy, matplotlib, etc.

Source: Internet
Author: User

1.pycharm Activation Code: http://idea.liyang.io/
(2017/9)
2.matplotlib (Graphics library) installation: see
/*http://blog.csdn.net/u012562681/article/details/77193871
① Installation Address: http://www.lfd.uci.edu/~gohlke/pythonlibs/
② appears fatal error in launcher:unable to create process using ' "'
Problem Solving Method:
Add the display installation before PIP installation; Python-m Easy_install
Specific command: >python-m easy_install numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl*/
Free Pit declaration: ① download EXE files as far as possible
②python-m pip install numpy This command at the command line to install successfully (install NumPy first, then install the graphics library because of dependencies between each other) (when you follow the first connection installation, you encounter a problem where numpy cannot be installed successfully. Finding this method is easy to solve (python3.6.2)) suggests using this approach directly. Installation Success Tip: Installing collected packages:numpy
Successfully installed numpy-1.13.1

3. Environment variable configuration: 3. X and Pycharm installation will be configured in a good environment, such as error environment variables to find Python's scripts path, and pycharm python.exe file path;
Note the last addition \

4. Detect whether the installation is good:
Enter the import numpy in the Python interpreter without an error
In addition to the drawing validator will appear in the line interface

>>> import matplotlib >>> from matplotlib import Pyplot >>> Pyplot.plot ([1, 2, 3, 4], [1, 2, 3, 4]) [<matplotlib.lines.line2d object at 0x0476c370>] >>> pyplot.show () /pre>

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.