小编Nic*_*our的帖子

为什么我无法使用 pip 或 miniconda 安装 matplotlib 或 pandas?

Windows 10 Python 3.1

我编写了一个需要 pandas 和 matplotlib 的脚本。但是,即使我尝试了 cmd 中的 pip 和 Miniconda 中的 conda,我在安装时也遇到了问题。

这是我在 cmd 中尝试通过 pip 安装时遇到的错误(即py -m pip install -U matplotlib

ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Nick\miniconda3\envs\name_of_my_env\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Nick\\AppData\\Local\\Temp\\pip-install-jlytfo2_\\matplotlib_5bffd16903a8431f98af43098502973c\\setup.py'"'"'; __file__='"'"'C:\\Users\\Nick\\AppData\\Local\\Temp\\pip-install-jlytfo2_\\matplotlib_5bffd16903a8431f98af43098502973c\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Nick\AppData\Local\Temp\pip-wheel-3tmzcurv'
       cwd: C:\Users\Nick\AppData\Local\Temp\pip-install-jlytfo2_\matplotlib_5bffd16903a8431f98af43098502973c\
  Complete output (551 lines):
Run Code Online (Sandbox Code Playgroud)

在 conda 中,当我尝试时conda …

python pip matplotlib pandas anaconda

2
推荐指数
1
解决办法
1786
查看次数

标签 统计

anaconda ×1

matplotlib ×1

pandas ×1

pip ×1

python ×1