简体   繁体   English

无法使用 conda 安装 tensorflow

[英]can not install tensorflow with with conda

I want to use anaconda prompt to install tensorflow but when I run this command: conda install -c conda-forge tensorflow I got an error:unavailable invalid chanel.我想使用 anaconda prompt 来安装 tensorflow,但是当我运行这个命令时: conda install -c conda-forge tensorflow 我得到一个错误:unavailable invalid chanel。 You will need to adjust your conda configuration to proceed.您需要调整 conda 配置才能继续。 Could someone help me?有人可以帮助我吗?

你可以试试 pip

pip install tensorflow

it is better not to install anything with in the system and recommended way is to create an virtual environment最好不要在系统中安装任何东西,推荐的方法是创建一个虚拟环境

and install whatever you want in the environment并在环境中安装任何你想要的

you can look at here你可以看看这里

pip install virtualenv

Try this:尝试这个:

 starting Anaconda Navigator,
    goto'Environments',
    goto button 'Channels' and
    removing the channel 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM