皇冠新体育APP

IT技术之家

皇冠新体育APP > 人工智能

人工智能

Windows10系统使用命令提示符输入conda create -n tensorflow python=3.6创建conda环境,结果提示Unavailable Invalid Channel_c

上线时间间隔:2023-08-24 16:41:39 人工智能 50次 标签:python pycharm 皇冠新体育APP:tensorflow 皇冠新体育APP:windows 10
使用命令提示符输入conda create -n tensorflow python=3.6报错The channel is not accessible or is invalid...

使用命令提示符输入conda create -n tensorflow python=3.6报错Unavailable InvalidChannel: The channel is not accessible or is invalid

问题描述:原因分析:解决方案:最后依次输入以下步骤即可完成创建和激活conda环境:

提示:已安装pycharm,python3.6,anaconda 3,Windows10系统


问题描述:

提示:Tensorflow安装中需要使用命令提示符创建conda环境,使用命令提示符输入conda create -n tensorflow python=3.6报错UnavailableInvalidChannel: The channel is not accessible or is invalid
命令提示符的错误提示为:

Collecting package metadata (current_repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid.
  channel name: simple
  channel url: //pypi.tuna.tsinghua.edu.cn/simple
  error code: 404

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.


原因分析:



解决方案:

灰复默认设置源,在指令的提示符中复制粘贴
conda config --remove-key channels

最后依次输入以下步骤即可完成创建和激活conda环境:

1、操作上面操作命令查询我网吧电脑都组装的python微信版本号
python --version
2、搜索接下下令創建conda环保
conda create -n tensorflow python=3.7.6
3、获取我们台式电脑端已怎么安装的区域环境自变量
conda info --envs
4、修改密码conda场景,有的也可称修改密码TensorFlow,都在搜索有以下强制性
activate tensorflow

#参考网站有
TensorFlow教程网站:
//c.biancheng.net/view/1881.html
//blog.csdn.net/weixin_45884316/article/details/113530349