jupyter notebook安装
2017-01-18 20:05
435 查看
jupyter notebook是一个笔记本式的工具,很方便修改代码,可视性很好。
我目前用它来写爬虫
1。安装
它的安装常常会碰到问题,依赖的问题
pip install jupyter notebook我上一次安装时出现,在某个依赖安装过程中,卡住了。
关闭,重新输入命令,到这个包时,又卡住。(看来是这个包安装出错)
pip install 包名这个包安装好后,继续
pip install jupyter notebook然后就安装好了。
2.在cmd中输入jupyter notebook 即可打开(网上都这么说的)
但是我碰到问题
Could not decode 'C:\\Users\\\xce\xf7\xb9\xcf\\.jupyter' for unicode trait 'config_dir' of a NotebookApp instance.
我在下面的帖子中提过问,问题已经完美解决了
http://bbs.csdn.net/topics/392074366
3.这一次,电脑重装了系统
重新安装jupyter notebook,出现了新的问题:
error: Unable to find vcvarsall.bat
报错信息:
Command "C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\\xce\xf7\xb9\xcf\\appdata\\local\\temp\\pip-build-b5biqi\\scandir\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\西瓜\appdata\local\temp\pip-zkpcgx-recor
d\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\西瓜\appdata\lo
cal\temp\pip-build-b5biqi\scandir\
按照1中方法,输入命令
pip install scandir
无效
pip install vcvarsall
无效
百度找到解决方法https://www.biaodianfu.com/python-error-unable-to-find-vcvarsall-bat.html(方法4比较简洁,亲测可行)
解决方法:
先安装好wheel:pip
install wheel
寻找对应的.whl文件下载下来:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
在该页面上搜索scandir,找到有这样的结果
找一个适合的版本下载安装,32位还是64位,取决于你的python版本(不是电脑版本)
安装方法:切换到该文件所在目录
pip install 包名.whl然后scandir就安装好了
再执行jupyter notebook的安装命令
pip install jupyter notebook
完美解决!
我目前用它来写爬虫
1。安装
它的安装常常会碰到问题,依赖的问题
pip install jupyter notebook我上一次安装时出现,在某个依赖安装过程中,卡住了。
关闭,重新输入命令,到这个包时,又卡住。(看来是这个包安装出错)
pip install 包名这个包安装好后,继续
pip install jupyter notebook然后就安装好了。
2.在cmd中输入jupyter notebook 即可打开(网上都这么说的)
但是我碰到问题
Could not decode 'C:\\Users\\\xce\xf7\xb9\xcf\\.jupyter' for unicode trait 'config_dir' of a NotebookApp instance.
我在下面的帖子中提过问,问题已经完美解决了
http://bbs.csdn.net/topics/392074366
3.这一次,电脑重装了系统
重新安装jupyter notebook,出现了新的问题:
error: Unable to find vcvarsall.bat
报错信息:
Command "C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\\xce\xf7\xb9\xcf\\appdata\\local\\temp\\pip-build-b5biqi\\scandir\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\西瓜\appdata\local\temp\pip-zkpcgx-recor
d\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\西瓜\appdata\lo
cal\temp\pip-build-b5biqi\scandir\
按照1中方法,输入命令
pip install scandir
无效
pip install vcvarsall
无效
百度找到解决方法https://www.biaodianfu.com/python-error-unable-to-find-vcvarsall-bat.html(方法4比较简洁,亲测可行)
解决方法:
先安装好wheel:pip
install wheel
寻找对应的.whl文件下载下来:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
在该页面上搜索scandir,找到有这样的结果
找一个适合的版本下载安装,32位还是64位,取决于你的python版本(不是电脑版本)
安装方法:切换到该文件所在目录
pip install 包名.whl然后scandir就安装好了
再执行jupyter notebook的安装命令
pip install jupyter notebook
完美解决!
相关文章推荐
- Docker 安装jupyter notebook
- Python安装 Anaconda 以及jupyter notebook配置
- mac 安装jupyter notebook
- 详解 jupyter notebook 集成 spark 环境安装
- TensorFlow学习笔记[1]: TensorFlow安装及在Jupyter notebook中用Pythond代码并生成散列点图
- 安装jupyter notebook
- Mac 安装Jupyter notebook
- 适用小白:为什么要用Jupyter?以及,如何在Linux的Ubuntu 14.04LTS上安装和启动Jupyter Notebook
- win10安装anaconda,nb_conda (jupyter notebook extension) 装不上的解决方法
- python︱Anaconda安装、简介(安装报错问题解决、Jupyter Notebook)
- Windows, Ubuntu 下 Numpy, Scipy, matplotlib, jupyter notebook 安装配置
- 基于Anaconda的tensorflow/jupyter notebook/numpy/matplotlib/scipy的安装
- Jupyter notebook安装使用中的问题
- 在Jupyter notebook和spyder上用python做数据挖掘,安装使用简介和常见错误
- Python开发笔记之一——安装Jupyter Notebook
- windows下安装ipython和jupyter notebook
- IPython与Jupyter notebook 安装与配置,插件扩展,主题,PDF输出
- ubuntu安装 Jupyter notebook 显示错误: ImportError: No module named 'pysqlite2'
- windows下安装双版本anaconda,以及配置jupyter notebook的kernel
- windows下安装双版本anaconda,以及配置jupyter notebook的kernel