当前位置:网站首页>pip-script. py‘ is not present Verifying transaction: failed
pip-script. py‘ is not present Verifying transaction: failed
2022-07-28 03:40:00 【AI vision netqi】
Catalog
Two mistakes :
pip install numpy Report errors :
pip-script.py' is not present
resolvent :
conda install pip, But this one is wrong again :
Verifying transaction: failed
A successful solution :
conda update --force conda
Interested in the following search process
For convenience , Want to use conda install nb_conda To make the jupyter notebook or jupyter lab Automatically generate data corresponding to all virtual environments Kernal.
conda install nb_conda
lo , Lazy people don't make it , Installation failed , Display at the end :
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: failed
RemoveError: 'requests' is a dependency of conda and cannot be removed from
conda's operating environment.
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
It means that some libraries cannot be deleted , At this time, the following method can bypass this problem : Execute in turn in each virtual environment :
conda install ipykernel
python -m ipykernel install --name my( The name in the folder ) --display-name my( Want to be in jupyter The display name )
This adds cores , stay C:\ProgramData\jupyter\kernels( See the instructions when adding cores ) You can actually see the details of all the cores you added in the path .
But I'm not lazy or not satisfied ! Continue to solve RemoveError The problem of , Until I found Github Discuss , There was a heated discussion , The main problem is that conda Update :
conda update conda
But in base There will still be mistakes in , Still show RemoveError, See again that you want to exit all virtual environments and update again , Use the following command :
conda deactivate
conda update conda
Still not , The problem remains. . Last ! See this savior :
Use :( Be careful ! Be sure to go back to base Environmental execution , Otherwise .... Just look at this blog to solve it :anaconda The installation environment encountered a failure to locate the program input point OPENSSL_sk_new_reserve…… problem )
conda update --force conda
Successful update conda! thus , Enter again base Environment do what you want to do !
about conda install nb_conda I have something else to say , Because there are still problems after implementation , Still not lazy !
After execution jupyter lab Not all virtual environments are automatically recognized ,jupyter notebook There are also problems , It's really worrying ! Finally, it shows some of this :
This corresponds to another blog , He gave the solution :jupyter-lab distinguish anaconda A virtual environment
# First
conda install nb_conda ipykernel
# After activating an environment, run the following command
python -m ipykernel install --name my( The name in the folder ) --display-name my( Want to be in jupyter The display name )
Is it familiar ... The last is to save in every environment install ipykernal Steps for ( But I still need to install one by one kernal As if , Maybe he is in the overall situation conda install Of ). ah , Let's do it one by one honestly .
Execute in turn in each virtual environment :
conda install ipykernel
python -m ipykernel install --name my( The name in the folder ) --display-name my( Want to be in jupyter The display name )
Verify that the addition was successful , You can view... Through the following command :
jupyter kernelspec list
————————————————
Copyright notice : This paper is about CSDN Blogger 「 soil Bo rat 」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/weixin_38634125/article/details/106483214
边栏推荐
- Xctf attack and defense world web master advanced area php2
- D2dengine edible tutorial (4) -- draw text
- Leetcode brush question: dynamic planning 09 (weight of the last stone II)
- 20220727使用汇承科技的蓝牙模块HC-05配对手机进行蓝牙串口的演示
- pip-script.py‘ is not present Verifying transaction: failed
- Outlook 教程,如何在 Outlook 中使用颜色类别和提醒?
- Methods of SQL server backup database
- Tensorboard usage record
- 【论文笔记】基于深度学习的移动机器人自主导航实验平台
- golang 获取循环嵌套结构的tag
猜你喜欢

"Xiaodeng" network equipment monitoring in operation and maintenance

verticle-align行内元素垂直居中对齐

什么是Tor?Tor浏览器更新有什么用?

The latest version of pagoda installs the zip extension, and PHP -m does not display the processing method

Shell: one click deployment PXE

LabVIEW加载和使用树型控件项目中的定制符号

Response to questions about the balanced beacon group of Hubei University of Arts and Sciences

收藏|0 基础开源数据可视化平台 FlyFish 大屏开发指南

【论文笔记】基于深度学习的移动机器人自主导航实验平台

Super nice PHP program source code of nteam official website
随机推荐
Responsive high-end website template source code Gallery material resource download platform source code
Unity背包系统
STM32 RT thread virtual file system mount operation
【OPENVX】对象基本使用之vx_matrix
如何让外网访问内网IP(esp8266网页使用)
How to solve MySQL deep paging problem
Volvo: what on earth does the deep-rooted "sense of security" rely on?
20220727 use the Bluetooth module hc-05 of Huicheng technology to pair mobile phones for Bluetooth serial port demonstration
Outlook tutorial, how to use color categories and reminders in outlook?
[openvx] VX for basic use of objects_ pyramid
贪心——55. 跳跃游戏
redis源码分析(谁说C语言就不能分析了?)
数字经济已成为最大看点
Leetcode brush question: dynamic planning 09 (weight of the last stone II)
Digital economy has become the biggest attraction
Tungsten Fabric SDN — BGP as a Service
玩一玩WolframAlpha计算知识引擎
How to solve the problem of win11 black desktop background?
【OPENVX】对象基本使用之vx_convolution
The open source of "avoiding disease and avoiding medicine" will not go far