jupyter的安装
3.6:\Lib\site-packages\pip\models\index.py
# PyPI = Index('https://pypi.python.org/')
# 替换成
PyPI = Index('https://pypi.douban.com/')3.7:\Lib\site-packages\pip\models\index.py
# PyPI = PackageIndex(
# 'https://pypi.org/', file_storage_domain='files.pythonhosted.org'
# )
# 替换成
PyPI = PackageIndex(
'https://pypi.douban.com/', file_storage_domain='files.pythonhosted.org'
)- C:\Users[username]\pip
- 新建pip.ini
- 在pip.ini中添加:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
pip3 install jupyter 或 python3 -m pip install jupyter
pip3 install jupyter_contrib_nbextensions 或 python3 -m pip install jupyter_contrib_nbextensions
pip3 install jupyter_contrib_nbextensions安装成功后输入:jupyter contrib nbextension install --user
上述命令三条安装成功后:
cd D:\飞秋数据\视频+课件\Python基础nick
jupyter notebook
补充
添加环境变量是为了cmd输入python能够找到python.exe
python ---> python.exe
pip ---> pip.exe
fatal
python3 -m pip
python相当于手机pip相当于应用商城 install(安装) jupyter(软件)
镜像源:下载软件从一个地方把软件,python默认是去国外的网址上拿,换了个镜像源,以后我们下载东西在国内拿
最新文章
- nfs配置注意点
- 为什么.Net要求序列化的类必须有一个无参数的构造函数
- 微软开放WP开发者回复用户应用评论功能
- [ie兼容]ie7 margin-bottom失效
- java String部分源码解析
- 【转】介绍设置Session失效的几种方法
- 【测试】使用hr用户下的employees和departments表写一条SQL语句,(MG连接)
- 【转】怎么在Foxmail回复/转发时使用签名?
- redis(1)
- 《C++程序设计语言(十周年纪念版)》【PDF】下载
- Web.xml中四种验证方式
- vue页面无操作10分钟内调转到登录页面
- Redis集群部署及命令
- 使用memcache对wordpress优化,提速
- com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼
- CSS中的各种width(宽度)
- Environment.GetEnvironmentVariable
- HDU 5861 Road 线段树区间更新单点查询
- 【bzoj2870】最长道路tree 树的直径+并查集
- 在Ninject 向构造参数中注入具有相同类型的参数
热门文章
- mysql时区错误问题及命令行登录mysql方法
- class一些内置方法
- sql 注入例子及防止
- Python IO编程-读写文件
- oracle schema彻底理解
- No unique bean of type [net.shougongfang.action.paymoney.AlipayPayMoneyReturnObj] is defined: Unsat
- ZooKeeper分布式集群部署及问题
- Linux系统编程——多线程实现多任务
- fgets()函数和sscanf()函数的使用方法
- Codeforces 456B Fedya and Maths 打表找规律