python安裝anaconda
A. anaconda安裝需不需要安裝python
不用,安裝anaconda的時候它會順帶幫你把python給安裝了
B. python anaconda 怎麼安裝
Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes over 195 of the most popular Python packagesfor science, math, engineering, data analysis.
1、安裝anaconda
之前什麼都不需要安裝,直接在官網下載anaconda,我下載的是Python2.7,32位的。
下載後的文件是:
直接雙擊安裝,可以自己選定安裝位置(這個你自己決定)。
安裝完成後,我們可以看到:
安裝完anaconda,就相當於安裝了Python、IPython、集成開發環境Spyder、一些包等等。
C. anaconda怎麼安裝python的各種庫
安裝好了anaconda之後,
可以用python自帶的pip安裝: pip install packagename
也可以用anaconda提供的conda安裝: conda install packagename
D. 怎麼安裝python包在anaconda中
筆者使用Sublime Text 3,安裝和配置插件Anaconda步驟如下:
安裝:
打開package control菜單,輸入install或者直接點擊install package命令菜單
在新窗口輸入Anaconda並點擊第一個備選項進行安裝。
安裝完成後會顯示messages文檔
配置:
點擊Anaconda插件默認設置菜單,彈出設置文檔
在大約90行的位置,我們修改一下Python主程序的位置路徑。
E. anaconda是什麼和python什麼關系裝了anaconda是不是就不用裝pyhton了
是的,Anaconda是Python的一個發行版,裡面內置了很多工具,不用單獨安裝,因為做了優化也免去了單獨安裝帶來的一些麻煩。
Anaconda是一種Python語言的免費增值開源發行版,用於進行大規模數據處理、預測分析,和科學計算,致力於簡化包的管理和部署。Anaconda使用軟體包管理系統Conda進行包管理。
(5)python安裝anaconda擴展閱讀:
anaconda相比Python增加了那些內容:
1、Python(shell) : 標准CPython。
2、Python(shell): 相當於在命令窗口的命令提示符後輸入ipython回車。pip install ipython安裝的ipython用法一樣。
3、Ipython QTConsole。
4、Python Notebook:直接點擊打開,或者在命令提示符中輸入ipython.exe notebook。
5、Jupyter QTConsole。
6、Jupyter Notebook:直接點擊打開,或在終端中輸入: jupyter notebook 以啟動伺服器;在瀏覽器中打開notebook頁面地址「http://localhost:8888」。
Jupyter Notebook是一種 Web 應用,能讓用戶將說明文本、數學方程、代碼和可視化內容全部組合到一個易於共享的文檔中。
7、Spyder:直接點擊打開IDE。最大優點就是模仿MATLAB的「工作空間」。
8、Anaconda Prompt : 命令行終端。
9、支持其他IDE,如Pycharm。
參考資料來源:網路——Anaconda
F. 如何安裝anaconda和python
How to set up your own anaconda in a scientific way?
python2, python3, R in conda
Introction
what is anaconda?
According to its own website, Anaconda is the leading open data science platform powered by Python. The open source version of Anaconda is a high performance distribution of Python and R and includes over 100 of the most popular Python, R and Scala packages for data science.
Or you can simply regard it as a manager of the packages of your programming languages.
why we want to use anaconda?
Convinient to manage packages
Jupyter notebook
object
Set up anaconda for a python and r user (linux)
I use py2 more often so I set it my default environment
Click this link and download corresponding version of anaconda.
Type the following line in the terminal and the installation will be set up automatically
```bash Anaconda2-4.3.1-Linux-x86_64.sh``` .Do include the "bash" command even if you are not using the bash shell.
Add the following line to the .bashrc or .zshrc(if you are a zsh user).
```export PATH="/home/zijun/anaconda2/bin:$PATH"```Create python3 environment in your conda.
```conda create -n py3 python=3.5 anaconda```Create R environment in your conda.
```conda create -n r -c r r-essentials```Install tck for R (enable install.packages() in R)
```source activate r
conda install -c intel tcl=8.6.4```Note1: if you want to remove environment you install:
```conda remove --name py3 --all```Note2: switch different environment
```source activate r
source deactivate r```Just do the step 5 above to solve this problem.
Or add the following lines to the .bashrc or .zshrc
``` export TCL_LIBRARY="/home/zijun/anaconda2/lib/tcl8.5"
export TK_LIBRARY="/home/zijun/anaconda2/lib/tk8.5" ```Note1: tck is a package which supports install.packages() function and it is installed in the global environment if you use sudo apt-get install tcl8.5-dev tk8.5-dev and conda has no access to it.
Note2: packages will be installed in /home/zijun/anaconda/envs/r/lib/R/library using install.packages()
switch back to the root environment
type conda install conda-build in the terminal
Use conda skeleton cran and conda build to install packages (you may mind the dependency issue)
Get started!
Some issues you may encounter ring the process
Q: tcl not found
install.packages('highfrequency')
--- Please select a CRAN mirror for use in this session ---
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Can't find a usable init.tcl in the following directories:
/opt/anaconda1anaconda2anaconda3/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.18/library ./tcl8.5.18/library
A: Solution:
Q: How to install packages in R
A: Since we set up the tcl, we can easily use install.packages() or remove.packages() to manage the R packages. However in this way, conda will lose control over r packages. Also you may find some suggestions using conda-build like this:
However this will not give you the control either. Moreover, there might be more issues about shitty sytax in R. So my suggestion is simply using install.packages() in R to install your packages.
G. 安裝anaconda前需要卸載python么
不用, anaconda(巨蟒)是python(蟒蛇)的集成版本, 集成了很多python包, 二者不沖突, 可以同時安裝, 也可以切換著使用
H. 怎麼在mac 系統上使用Python怎麼安裝Anaconda
在mac上搭建python環境:
mac系統其實自帶了一個python的執行執行環境,用來運行python還行,但是開發可能就不夠了,因此我們需要重新安裝python。這里有兩種方案安裝:
1.homebrew
brew install python
這個方案比較簡單,如果出錯的話可以給前面加sudo試試,這個安裝的python可能不是最新版.
2.從官網下載安裝
大家可以從python官網下載安裝最新版的python,安裝比較無腦,一路按下去就OK,缺點是以後升級,卸載都得自己維護.
這兩個方法安裝的python的位置是不一樣的,大家可以用:
which python
來查看安裝位置.安裝完成後在終端中鍵入python來驗證安裝是否成功.
安裝Anaconda:
安裝很簡單,Anaconda Install就可以自動聯網安裝了。