ImportError:virtualen中没有名为matplotlib的模块

2024-04-25 16:11:08 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试导入matplotlib,同时在我的virtualenv for cv中工作。在

当我在virtualenv外部导入它时,我可以在shell中很好地导入它,但是在处理cv时导入它会导致以下错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named matplotlib

请帮忙!在


Tags: mostforvirtualenvmatplotlib错误stdinlineshell