当我尝试在我的虚拟环境中运行matplotlib时,这就是我得到的。
ImportError Traceback (most recent call last)
<ipython-input-1-d0b23255e9ca> in <module>()
1 import cv2
2 import numpy as np
----> 3 import matplotlib.pyplot as plt
4 #%matplotlib inline
ImportError: No module named 'matplotlib'
这是我跑步时的输出pip3 install matplotlib
Requirement already satisfied: pyparsing!=2.0.0,!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
Requirement already satisfied: six>=1.10 in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
Requirement already satisfied: cycler>=0.10 in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
Requirement already satisfied: pytz in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
Requirement already satisfied: numpy>=1.7.1 in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
Requirement already satisfied: python-dateutil in ./.envs/opencv/lib/python3.5/site-packages (from matplotlib)
我错过了什么?