pytorch 使用conda和虚拟环境安装matplotlib时出现问题,ModuleNotFoundError

mrzz3bfm  于 2022-11-09  发布在  其他
关注(0)|答案(1)|浏览(251)

我尝试在我的环境“cs323V2“中使用以下命令安装matplotlib:

(cs323V2) conda install matplotlib
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.

Retrieving notices: ...working... done
(cs323V2) python
Python 2.7.5 (default, Nov 16 2020, 22:23:17) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[3]+  Stopped                 python
>>> import matplotlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'matplotlib'
tjvv9vkg

tjvv9vkg1#

使用康达-福格频道。

conda install -c conda-forge matplotlib

我也不知道为什么

conda install matplotlib

不起作用。

相关问题