+
80
-

pip install pyplot出错 Could not find a version that satisfies the requirement pyplot

pip install pyplot出错 Could not find a version that satisfies the requirement pyplot,请问是什么原因导致的?

网友回复

+
0
-

先要安装matplotlib,pip install matplotlib

然后导入

import matplotlib.pyplot as plt
import numpy

plt.plot([1, 2, 3],[5, 7, 4])
plt.show()

我知道答案,我要回答