CondaHTTPError: HTTP 000 CONNECTION FAILED for url
解决办法:
找到C:\Users\username\.condarc
#首先先添加清华的镜像源
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config –set show_channel_urls yes
#如果无法解决,则删除channels配置文件中部分内容
#具体操作如下:
#1、快速创建channels配置文件的备份(保险起见)
cp ~/.condarc{,.bak}
———————
作者:AdaWong_Corner
来源:CSDN
原文:https://blog.csdn.net/ada0915/article/details/78529877
版权声明:本文为博主原创文章,转载请附上博文链接!
安装完Anaconda python 3.7,想使用python3.6方法
cmd使用命令:
conda create -n py36 python=3.6 anaconda
安装好后,会有提示:
To activate this environment, use:
# > activate py36
#
# To deactivate an active environment, use:
# > deactivate
#
# * for power-users using bash, you must source
即想激活python3.6版本,使用命令:
activate py36
退出python3.6,使用命令:
deactivate
How can I install a conda environment when offline?
https://stackoverflow.com/questions/31729731/how-can-i-install-a-conda-environment-when-offline
解决Anaconda navigator闪退问题
https://blog.csdn.net/u012318074/article/details/78844789
https://www.jianshu.com/p/43d779a219fd
Python:Anaconda安装虚拟环境到指定路径
https://www.cnblogs.com/lemonbit/p/7068091.html
Problem with tensorflow, TF_SessionRun_wrapper: expected all values in input dict to be ndarray
I fixed it by upgrading
- the
numpy
package to (1.16.2). - tensorflow to 1.13.1 ,
- Python to 3.6.8 ,
- tensorflow-gpu to 1.13.1
Does not work with version 2.0.A.
Sorry for the late reply. Turns out there were some incompatible versions with some dependencies. This is not a bug in the TF codebase.
I did a complete upgrade on my anaconda installation and that fixed the problem.
Python Packaging tools not found.Install packaging tools:
要安装pip
和setuptools
先给系统安装
easy_install
和pip
(推荐)。使用
virtualenv
创建一个虚拟环境venv
。设置
Pycharm
的解释环境为venv
里面的python
。
Navigator Error:
Main Error:expected str, bytes or os.PathLike object, not NoneType
解决办法:Please delete this file C:\Users\anmol singh\.condarc
and try again
$ conda update conda
$ conda update anaconda-navigator
$ conda update navigator-updater