Windows10+Anaconda3.5+Tensorflow1.13+Pycharm3.5 开发环境搭建问题,安装完Anaconda python 3.7,想使用python3.6方法,Python:Anaconda安装虚拟环境到指定路径

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:

要安装pipsetuptools

  1. 先给系统安装 easy_install 和 pip(推荐)。

  2. 使用 virtualenv 创建一个虚拟环境 venv

  3. 设置 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

    原文作者:Sunshine168
    原文地址: https://www.cnblogs.com/wynlfd/p/10730564.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞