python常用库安装_python 常用库及安装使用

#win10 + python3.5.2

#all use 管理员权限

#pip 更新

python -m pip install --upgrade pip

pip install xxx

pip uninstall xxx

#安装 numpy,scipy,matplotlib, networkx

#!!!!如果 pip 直接 install 报错,可从该网址下载 whl包 http://www.lfd.uci.edu/%7Egohlke/pythonlibs/

# numpy+mkl 捆绑安装

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))

原文地址:http://www.cnblogs.com/squirrel2300/p/6691710.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值