python - Conda - 将 python3 版本更改为 3.6.8
问题描述
(myenv) C:\Users\enlig\Downloads>python --version
Python 3.6.8 :: Anaconda, Inc.
(myenv) C:\Users\enlig\Downloads>python3 --version
Python 3.9.7
我也想将我的 python3 版本更改为 3.6.8,我该怎么做?
因此,仅在某些情况下,我将环境激活为:
conda create -n myenv python=3.6.8
并认为我也可以对 python3 做同样的事情:
conda create -n myenv1 python3=3.6.8
但这给出了这个错误:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python3=3.6.8
解决方案
推荐阅读
- c# - ModelState 如果只在 HttpPost 中创建,如何在 HttpPut 中访问?
- asp.net - 有没有办法在中间件中填充一些对象,以便在服务中使用
- c# - 循环内异步
- github - 最初发布 github 包显示“用户名不能为空!”
- reactjs - Gatsby 重复数据输出/双重渲染
- typescript - TypeScript 字符串文字到基本类型
- haskell - Unable to compile first Haskell Programme in VSCode
- python - 我的网络爬虫脚本的重试机制
- amazon-web-services - Route53 未发布记录
- c# - c# 父进程被杀死时要杀死的runspace进程