ubuntu中anaconda配置

sudo gedit ~/.bashrc   打開liunx中的環境配置文件,裏面存放着環境配置變量

1、注意:

這是安裝好anaconda之後,必須手動添加環境變量,否則系統無法識別conda的命令(同時卸載的時候,也需要手動卸載)

conda是用於環境管理、包管理的工具。

echo 'export PATH="/home/ubuntu16/anaconda3/bin:$PATH"' >>

source ~/.bashrc

2、ubuntu中有自帶python版本、多個python環境切換

一定注意:python+依賴包=python環境。

python搭建一個環境的時候,學會用python環境中的包管理工具進行下載包。

 

 

 

 

python:(自定義安裝,並需要看教程,環境變量)

學習知乎資源:https://www.zhihu.com/question/20702054

1、書和手冊:

drive into python:http://www.kuqin.com/docs/diveintopythonzh-cn-5.4b/html/toc/

簡明教程python:http://www.kuqin.com/abyteofpython_cn/ch06s04.html#using

2、Python的庫大全:1)pypi

3、Python官網:https://www.python.org/

4、Python中IDLE清屏option:https://blog.csdn.net/leisure_life/article/details/73826796

tensorflow:

1、tensorflow中文社區:https://www.tensorflowers.cn/

2、tensorflow官網:https://tensorflow.google.cn/

3、tensorflow的安裝

方法一:單獨下載tensorflow包,然後安裝教程:https://blog.csdn.net/yz960611/article/details/78538488

方法二:直接在cmd中pip install tensorflow

其中還需要配置VC++環境,看importerror。

CMD(有意思)

1、pip list

2、cls

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章