python安装包及问题汇总

python如何安装cv2模块

答: pip(3) install opencv-python

(tensorflow115) zarddeMacBook-Pro:tensorflow_models_learning-master zard$ pip install matplotlib
Collecting matplotlib
Downloading matplotlib-3.3.4-cp36-cp36m-macosx_10_9_x86_64.whl (8.5 MB)
|████████████████████████████████| 8.5 MB 315 kB/s
Collecting pillow>=6.2.0
Using cached Pillow-8.2.0-cp36-cp36m-macosx_10_10_x86_64.whl (2.8 MB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl (61 kB)
|████████████████████████████████| 61 kB 7.5 MB/s
Requirement already satisfied: numpy>=1.15 in /Users/zard/anaconda3/envs/tensorflow115/lib/python3.6/site-packages (from matplotlib) (1.19.2)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Requirement already satisfied: six in /Users/zard/anaconda3/envs/tensorflow115/lib/python3.6/site-packages (from cycler>=0.10->matplotlib) (1.15.0)
WARNING: Error parsing requirements for pytz: [Errno 2] No such file or directory: ‘/Users/zard/anaconda3/envs/tensorflow115/lib/python3.6/site-packages/pytz-2021.1.dist-info/METADATA’
Installing collected packages: python-dateutil, pyparsing, pillow, kiwisolver, cycler, matplotlib
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pandas 1.1.5 requires pytz>=2017.2, which is not installed.
Successfully installed cycler-0.10.0 kiwisolver-1.3.1 matplotlib-3.3.4 pillow-8.2.0 pyparsing-2.4.7 python-dateutil-2.8.1
(tensorflow115) zarddeMacBook-Pro:tensorflow_models_learning-master zard$

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值