当前位置:网站首页>Update PIP & Download jupyter Lab
Update PIP & Download jupyter Lab
2022-06-25 12:51:00 【Yancexi】
Update your pip&download jupyter lab
Problem 1
In the installation jupyter notebook At the end of ,python Kindly remind me : Your pip It's time to update , A new version is available :
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.
therefore , I used this command :pip install --upgrade pip, Then came the following sentence :
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] Access denied .: 'f:\\python38\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
Then I tried pip, Just tell me. :
ModuleNotFoundError: No module named 'pip'
Because above uninstall 了 pip After that, he immediately reported a mistake , So it doesn't have a new version installed pip, So the current status is not pip 了 … The new one didn't make it , Instead, they unloaded the old ones …
Solution 1
Several times tossing , The following sequence is available on my computer :
1. python -m ensurepip
2. python -m pip install --upgrade pip
The first instruction will install a lower version pip, The second instruction is to update pip 了 , So update later pip Just use the second command .
Problem 2
Use the following command to install jupyter lab
pip install jupyter lab
Start with the following command jupyter lab
jupyter lab
Report the following error :
Jupyter command `jupyter-lab` not found
Solution 2
because ( link )
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
The reason is that you use spaces , Mistakenly installed jupyter and lab These two bags …
resolvent :
# 1. If it was installed by mistake jupyter and lab, Please execute the following order , Otherwise, go directly to the second step :
pip uninstall jupyter lab # Delete both packages at the same time
# 2. Install
python -m pip install jupyterlab
# or
pip install jupyterlab
# 3. start
jupyter lab
# or
jupyter-lab

边栏推荐
- 英语口语 - 连读
- 出手即不凡,这很 Oracle!
- Visual studio2019 link opencv
- PHP numeric array sorting and associative array sorting
- Using CMD (command prompt) to install MySQL & configure the environment
- Qt5 multi thread operation implemented by object base class and use of movetothread method
- Laravel task scheduling
- 冷启动的最优解决方案
- Figure explanation of fiborache sequence
- Go defer little knowledge
猜你喜欢

利用cmd(命令提示符)安装mysql&&配置环境

Shell learning notes (latest update: 2022-02-18)

Zhangxiaobai's way of penetration (VIII) - detailed operation steps of SQL injection - Boolean blind injection of blind injection

Render values to corresponding text

Total number of MySQL statistics, used and unused

画图常用配色

地理空间搜索:kd树的实现原理

Wechat full-text search technology optimization

微信全文搜索技术优化

laravel 9
随机推荐
Spoken English - weak reading
Laravel task scheduling
How to implement a high-performance load balancing architecture?
Oral English - continuous reading
Talk about 11 key techniques of high availability
词法陷阱(C)
JSTL tag: fmt:formatdate tag format Chinese standard time or timestamp
Wait for the end of the network request in the uniapp Onshow method before executing the subsequent code content
Concat(), join(), reverse(), sort() method in JS array
Maximum number [abstract rules for abstract sorting]
Array reorder based on a field
(3) Pyqt5 tutorial -- > signal and slot preliminary test
Event triggered when El select Clear clears content
冷启动的最优解决方案
JS array de duplication
画图常用配色
Jupyter Notebook主题字体设置及自动代码补全
JQ dynamic setting radio does not take effect when selected
Meichuang was selected into the list of "2022 CCIA top 50 Chinese network security competitiveness"
Embedded software development written examination and interview notes (latest update: February 17, 2022)