【Python】jupyter安装numpy和pandas

1、在cmd命令终端执行命令:
pip install jupyter
【Python】jupyter安装numpy和pandas
文章图片




distutils.errors.DistutilsError: Setup script exited with error:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get itfrom
http://aka.ms/vcpython27


2、出现如下问题:看截图的最后
需要安装vc++到指定官网



【Python】jupyter安装numpy和pandas
文章图片





3、安装vc++后继续执行命令pip installjupyter,发现版本有问题,于是到python官网下载了3.6.4的版本。
这样在路径C:\Users\admin\AppData\Local\Programs\Python\Python36-32\Scripts中已经有了jupyter-notebook.exe




【Python】jupyter安装numpy和pandas
文章图片





双击后打开,同时浏览器也会打开juther的页面


【Python】jupyter安装numpy和pandas
文章图片




【【Python】jupyter安装numpy和pandas】
安装numpy
直接在cmd环境下用命令即可,命令为:pip install numpy



安装pandas
直接在cmd环境下用命令即可,命令为:pip3 install pandas
安装pandas的命令是pip3,不是pip。我用pip总是不成功。

    推荐阅读