pip - 使用 pip 安装 conda 失败
问题描述
我已经看过一些帖子,但似乎没有一个合适的答案。我的主要目标是安装 Jupyter 实验室。但是运行命令 conda install -c conda-forge jupyterlab 我收到与 conda 有关的错误,指出它无法识别。所以我想我会使用 pip 安装 conda 但是我现在得到错误退出状态 1,代码如下。Pip 和 python 都使用 python 3.9 和 pip 21.1.3 工作。请问你能帮忙吗?在此先感谢您的时间。
ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CJHud\\AppData\\Local\\Temp\\pip-install-3vseastq\\conda_62c5aa6c50694bb6aec7dd04284fa7a0\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-3vseastq\\conda_62c5aa6c50694bb6aec7dd04284fa7a0\\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'"'"'))' install --record 'C:\Users\CJHud\AppData\Local\Temp\pip-record-cpehq0dz\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\conda' Check the logs for full command output.
解决方案
推荐阅读
- jquery - 每个多步骤表单卡的多个 DIV 不起作用
- javascript - 如何将 'xxth Mar XXXX' 格式的日期转换为 'DD/MM/YY' 格式?
- python - 我可以在 python selenium switch_to.frame() 中嵌入星号通配符 *
- php - 我正在尝试将图像从数据库中提取到模态中,但图像未显示在模态中
- javascript - 组合 JS 对象键
- java - 如何减去两个日期时间并检查它在 Java 8 中是否少于 12 小时?
- flutter-sliver - 颤振,我需要使用下面的列表作为项目显示在 sliver 列表中
- javascript - 登陆页面时更改背景
- java - 如何使用 JUnit5 的 java main 方法运行 Karate TestRunner
- google-apps-script - 谷歌电子表格中的排序范围