unity tweak tool 安装
搞不懂自己怎么想的要美化桌面,安装了unity tweak tool 和donky然后隐藏了侧边,很不方便,建议初次入坑还是不要换桌面,本来就不是主要操作系统完全用来跑代码要什么美观(狗头)
于是:
恢复默认ubuntu桌面
检测目前安装了哪些环境变量:
conda info --envs
查看当前有哪些可以使用的tensorflow版本:
conda search --full -name tensorflow
创建名为tfenv的虚拟环境配置python3.6
conda create --name tfenv python=3.6
卸载名为tfen的环境
conda remove –n tfenv –-all
、
激活并进入已有的环境tfen
conda activate tfenv
查看当前环境中的python版本
python --version
退出当前环境
conda deactivate
因为安装的tensorflow版本不对代码跑不起来于是决定卸载重新装,
解决卸载tensorflow如下报错问题:
(tf) a706@a706-hp-z840-workstation:~$ conda uninstall tensorflow
Collecting package metadata (repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/repodata.json
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘mirrors.tuna.tsinghua.edu.cn’, port=443): Max retries exceeded with url: /anaconda/pkgs/free/linux-64/repodata.json (Caused by SSLError(SSLError(“bad handshake: SysCallError(104, ‘ECONNRESET’)”)))’))
anconda创建虚拟环境完成在虚拟环境中安装tensorflow以及tflearn:
安装tensorflow:
conda install tensorflow==1.12.0(这里是需要安装的版本)
在配置好镜像的情况下安装流畅也很快到tflearn就有问题了,报错,
在channels找不到tflearn 包
于是手动下载
下载完执行:
pip install tflearn-0.3.2.tar.gz