900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > pip install jupyter报错30ERROR

pip install jupyter报错30ERROR

时间:2023-05-19 18:07:26

相关推荐

pip install jupyter报错30ERROR

pip install juptyer报错30ERROR

报的错误如下:

30ERROR: Exception:Traceback (most recent call last):File "E:\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 425, in _error_catcher

解决方法:

#首先更新pippython -m pip install --upgrade --force pip#然后下载一个库pip install setuptools==33.1.1#最后再安装jupyterpip install jupyter

启动jupyter和修改默认配置:

#启动jupyter,网页上打开jupyter notebook#修改jupyter默认配置,例如端口、默认启动路径jupyter notebook --generate-config#会产生一个存储配置文件的路径,然后修改配置文件中的配置即可#例如修改端口:## The port the notebook server will listen on (env: JUPYTER_PORT).# Default: 8888c.NotebookApp.port = 8001 #在这里修改#修改默认启动路径:## The directory to use for notebooks and kernels.# Default: ''c.NotebookApp.notebook_dir = 'F:\pythonStudy'

加一个常用的,pip清华镜像:

#例子:pip install -i https://pypi.tuna./simple pyspider #清华镜像-i /simple/ #豆瓣镜像

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。