python pip安装第三方库numpy_Python3使用pip3安装第三方库pygame、pandas、matplotlib、numpy等...

操作系统:MacOS

包安装管理器:Homebrew

编程语言:Python3

第三方库的安装方法:pip3 install [库名]

Python3 第三方库-pygame

终端terminal中输入:pip3 install pygame

显示:

Collecting pygame

|████████████████████████████████| 4.9MB 23kB/s

Installing collected packages: pygame

Successfully installed pygame-1.9.6

Python3 第三方库-数据分析:pandas、matplotlib、numpy

1.pandas

终端terminal中输入:pip3 install pandas

显示:

Collecting pandas

|████████████████████████████████| 9.9MB 219kB/s

Collecting python-dateutil>=2.7.3

|████████████████████████████████| 235kB 400kB/s

Collecting numpy>=1.15.4

|████████████████████████████████| 15.3MB 209kB/s

Collecting pytz>=2017.2

|████████████████████████████████| 512kB 83kB/s

Requirement already satisfied: six>=1.5 in /usr/local/Cellar/protobuf/3.11.4/libexec/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas) (1.14.0)

Installing collected packages: python-dateutil, numpy, pytz, pandas

Successfully installed numpy-1.19.2 pandas-1.1.3 python-dateutil-2.8.1 pytz-2020.1

2.matplotlib

终端terminal中输入:pip3 install matplotlib

显示:

Collecting matplotlib

|████████████████████████████████| 8.5MB 32kB/s

Collecting kiwisolver>=1.0.1

|████████████████████████████████| 61kB 95kB/s

Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3

|████████████████████████████████| 71kB 57kB/s

Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/site-packages (from matplotlib) (2.8.1)

Requirement already satisfied: numpy>=1.15 in /usr/local/lib/python3.7/site-packages (from matplotlib) (1.19.2)

Collecting certifi>=2020.06.20

|████████████████████████████████| 163kB 146kB/s

Collecting pillow>=6.2.0

|████████████████████████████████| 2.2MB 37kB/s

Collecting cycler>=0.10

Requirement already satisfied: six>=1.5 in /usr/local/Cellar/protobuf/3.11.4/libexec/lib/python3.7/site-packages (from python-dateutil>=2.1->matplotlib) (1.14.0)

Installing collected packages: kiwisolver, pyparsing, certifi, pillow, cycler, matplotlib

Successfully installed certifi-2020.6.20 cycler-0.10.0 kiwisolver-1.2.0 matplotlib-3.3.2 pillow-8.0.0 pyparsing-2.4.7

3.numpy

终端terminal中输入:pip3 install numpy

显示:

Collecting numpy

|████████████████████████████████| 15.3MB 10kB/s

Python3 第三方库-Excel

1.xlrd

终端terminal中输入:pip3 install xlrd

显示:

Collecting xlrd

|████████████████████████████████| 112kB 681kB/s

Installing collected packages: xlrd

Successfully installed xlrd-1.2.0

2.xlwt

终端terminal中输入:pip3 install xlwt

显示:

Collecting xlwt

|████████████████████████████████| 102kB 23kB/s

Installing collected packages: xlwt

Successfully installed xlwt-1.3.0

3.xlwings

终端terminal中输入:pip3 install xlwings

显示:

Collecting xlwings

|████████████████████████████████| 655kB 14kB/s

Collecting psutil>=2.0.0

|████████████████████████████████| 460kB 11kB/s

Collecting appscript>=1.0.1

|████████████████████████████████| 92kB 15kB/s

Building wheels for collected packages: xlwings, psutil

Building wheel for xlwings (setup.py) ... done

Created wheel for xlwings: filename=xlwings-0.20.8-cp37-none-any.whl size=315655 sha256=87281ff9f4c39642b81a4e3a7fdd44a58e0e0e74fb54af4e2199c7acf7c96fdb

Stored in directory: /Users/bluesun31707/Library/Caches/pip/wheels/74/42/8e/8af7e9a518de85f0a8c846d5b99399be89c65e599ecb59c5a4

Building wheel for psutil (setup.py) ... done

Created wheel for psutil: filename=psutil-5.7.2-cp37-cp37m-macosx_10_14_x86_64.whl size=234014 sha256=69c11d376fc3fa516e70b9a2eb313beca5bd2d55b6ca0d79aa61a5ed0e37611f

Stored in directory: /Users/bluesun31707/Library/Caches/pip/wheels/39/a0/f5/c4fa280463e29aea07797acb5312358fefb067c1f4f98e11b1

Successfully built xlwings psutil

Installing collected packages: psutil, appscript, xlwings

Successfully installed appscript-1.1.1 psutil-5.7.2 xlwings-0.20.8

Python 第三方库- QRcode二维码

QRcode

终端terminal中输入:pip3 install qrcode

显示:

Collecting qrcode

Requirement already satisfied: six in /usr/local/Cellar/protobuf/3.11.4/libexec/lib/python3.7/site-packages (from qrcode) (1.14.0)

Installing collected packages: qrcode

Successfully installed qrcode-6.1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值