Python Common library and installation use

Source: Internet
Author: User
Tags install matplotlib

#win10 + python3.5.2

#all Use Administrator rights
#pip Update
python-m pip Install--upgrade pip

Pip Install xxx

Pip Uninstall xxx

#安装 Numpy,scipy,matplotlib, Networkx
#!!!! If PIP directly install error, you can download WHL package from this URL http://www.lfd.uci.edu/%7Egohlke/pythonlibs/
# NUMPY+MKL Bundled Installation
Pip Install "NUMPY-1.12.1+MKL-CP35-CP35M-WIN_AMD64.WHL"
Pip Install SCIPY-0.19.0-CP35-CP35M-WIN_AMD64.WHL
Pip Install Matplotlib
Pip Install Networkx
Pip Install Theano

Numpy+scipy

https://docs.scipy.org/doc/

Https://docs.scipy.org/doc/numpy-dev/user/quickstart.html

Http://old.sebug.net/paper/books/scipydoc/numpy_intro.html#id3

Networkx

Https://networkx.readthedocs.io/en/stable/reference/index.html

#algorithms List

Https://networkx.readthedocs.io/en/stable/reference/algorithms.html

Https://networkx.readthedocs.io/en/stable/tutorial/tutorial.html#directed-graphs

https://networkx.readthedocs.io/en/stable/examples/

Matplotlib

http://matplotlib.org/contents.html#

Http://matplotlib.org/examples/index.html

Python Graph Libraries

Https://wiki.python.org/moin/PythonGraphApi

Https://wiki.python.org/moin/PythonGraphLibraries

https://graph-tool.skewed.de/

Import Networkx as NX
g = NX. Graph ()

ng = NX. DiGraph ()

G.add_nodes_from ("ABCDEF")

G.add_edges_from (' A ', ' C '), (' B ', ' C '), (' C ', ' d '), (' A ', ' E '), (' E ', ' d '), (' E ', ' F '), (' A ', ' F ')])

Nx.top ...

Nx.find_cycle (...

Import NumPy as NP
Np.zeros ((4,5))

Python Common library and installation use

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.