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
>>>
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值