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就可以自动联网安装了。