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$