anaconda初体验

LINUX和mac系统一般都自带一个Python的命令行版本,如果需要图形界面的版本(IDLE(Python GUI)),需要自己另外安装。
但是Windows系统默认不提供任何Python版本,这无所谓,自己装一个就是了,反正是自由下载的开源软件,很简单。
Python可以跑的平台很多,mac,类unix系统(比如Linux),Windows,sun solaris, os/2, amiga, beos等等听都没听过的操作系统都可以用Python。

安装完成后,在anaconda prompt查看已经安装的包

(base) C:\Users\Administrator>conda list
# packages in environment at D:\ProgramData\Anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0
alabaster                 0.7.12                   py37_0
anaconda                  2019.07                  py37_0
anaconda-client           1.7.2                    py37_0
anaconda-navigator        1.9.7                    py37_0
anaconda-project          0.8.3                      py_0
asn1crypto                0.24.0                   py37_0
astroid                   2.2.5                    py37_0
astropy                   3.2.1            py37he774522_0
atomicwrites              1.3.0                    py37_1
attrs                     19.1.0                   py37_1
babel                     2.7.0                      py_0

更新所有包

conda upgrade  --all

安装jupyter notebook

(base) C:\Users\Administrator>conda install ipython jupyter
Collecting package metadata (current_repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::anaconda==custom=py37_1
  - defaults/win-64::numba==0.45.1=py37hf9181ef_0
  - defaults/win-64::_anaconda_depends==2019.03=py37_0
done

## Package Plan ##

  environment location: D:\ProgramData\Anaconda3

  added / updated specs:
    - ipython
    - jupyter


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    tbb-2019.4                 |       h74a9793_0         156 KB
    ------------------------------------------------------------
                                           Total:         156 KB

The following NEW packages will be INSTALLED:

  tbb                pkgs/main/win-64::tbb-2019.4-h74a9793_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
tbb-2019.4           | 156 KB    | ################################################################################################################################################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(base) C:\Users\Administrator>

进入Python环境, 如果不装anaconda发行版,直接装Python的话是在运行输入cmd然后输入Python,安装anaconda则从anaconda prompt进入

(base) C:\Users\Administrator>python
Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+1
2
>>>

你可能感兴趣的:(Python)