当前位置:网站首页>更新pip&下载jupyter lab
更新pip&下载jupyter lab
2022-06-25 12:10:00 【燕策西】
Update your pip&download jupyter lab
Problem 1
在安装jupyter notebook的末尾,python 好心提醒我:您的pip该更新了,有新版本可用:
WARNING: You are using pip version 20.2.4; however, version 20.3.1 is available.
You should consider upgrading via the 'f:\python38\python.exe -m pip install --upgrade pip' command.
于是,我使用了这个指令:pip install --upgrade pip,接着就有了下面这句话:
C:\Users\Asus>pip install --upgrade pip
Collecting pip
Downloading pip-20.3.1-py2.py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 163 kB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.4
Uninstalling pip-20.2.4:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\python38\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
然后我试了下pip,就告诉我:
ModuleNotFoundError: No module named 'pip'
因为上面uninstall了pip 之后立马就报错了,所以它并没有安装新版本的pip,所以目前状态是没有pip了… 装新的没弄成,反而还把旧的卸了…
Solution 1
几经折腾,如下顺序在我的电脑上可用:
1. python -m ensurepip
2. python -m pip install --upgrade pip
第一句指令会安装一个低版本pip,第二句指令就是更新pip了,所以以后更新pip就用第二个命令。
Problem 2
使用如下命令安装jupyter lab
pip install jupyter lab
使用如下命令启动jupyter lab
jupyter lab
报如下错误:
Jupyter command `jupyter-lab` not found
Solution 2
因为(链接)
Its the space. Its always the space.
Never ever use spaces within package name. Its always either namepart1-namepart2 or namepart1namepart2. This is because arguments are separated by space.
So if you put space in between, it makes pip think that you want to install two different packages named jupyter and lab.
Just use:
python -m pip install jupyterlab
原因就是你使用了空格,误装了jupyter 和 lab这两个包…
解决方法:
# 1. 如果之前误装了jupyter 和 lab,请执行以下命令,否则直接进入第二步:
pip uninstall jupyter lab #同时删除这两个包
# 2. Install
python -m pip install jupyterlab
# or
pip install jupyterlab
# 3. start
jupyter lab
# or
jupyter-lab

边栏推荐
- JS function exercises
- el-select clear 清空内容时触发事件
- 3+1保障:高可用系统稳定性是如何炼成的?
- Laravel multi project mutual access
- flutter 收到推送后自动消失问题
- visual studio2019链接opencv
- 百度搜索稳定性问题分析的故事
- Shell learning notes (latest update: 2022-02-18)
- 微信全文搜索技术优化
- The source code of the hottest online disk money making system in 2022 imitates Lanzou online disk / Chengtong online disk / sharing money making cloud disk system / online disk VIP Download System
猜你喜欢

The server reported an error 503 service unavailable:the system returned: (71) protocol error

What is the primordial universe

High performance + million level Excel data import and export

Swagger document generated by node project API in vscode

地理空间搜索 ->R树索引

Embedded software development written examination and interview notes (latest update: February 17, 2022)

Three jobs! You can learn this from me (attached with graduation vlog)

Go novice exploration road 2
![Select randomly by weight [prefix and + dichotomy + random target]](/img/84/7f930f55f8006a4bf6e23ef05676ac.png)
Select randomly by weight [prefix and + dichotomy + random target]

Zhangxiaobai's road of penetration (VI) -- the idea and process of SQL injection and the concat series functions and information of SQL_ Schema database explanation
随机推荐
2021-10-21
MySQL common interview questions
Thinkphp3 use phpword to modify the template and download it
The amount is verified, and two zeros are spliced by integers during echo
Error while sending STMT_ PREPARE packet. PID=29294
Repair the error that ECSHOP background orders prompt insufficient inventory when adding goods. Please reselect
聊聊高可用的 11 个关键技巧
Navicat premium view password scheme
When MySQL queries fields in JSON format, it takes a property value of JSON data
An example of using dynamic datalist
JS picture switching (simple and practical)
三入职场!你可以从我身上学到这些(附毕业Vlog)
Introduction to jiuhongtianxia system development function -- jiuhongtianxia app development source code sharing
Micro engine generates QR code
Tp6 exception handling try catch writing method
Heyangdao store management system -- share the development source code of heyangdao system
Zunpin Yongyao advertising e-commerce system -- Zunpin Yongyao advertising e-commerce app system development source code sharing
The server reported an error 503 service unavailable:the system returned: (71) protocol error
Polling and long polling
Spicy food advertising e-commerce system development function and spicy food advertising e-commerce app system development source code sharing