当前位置:网站首页>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
边栏推荐
- VBA reads the create document of SQL in batches to create tables
- 动态规划——63. 不同路径 II
- VMware virtual machine network settings
- AIRIOT答疑第6期|如何使用二次开发引擎?
- deepstream 检测结果截图
- 8000 word explanation of OBSA principle and application practice
- Leetcode brush question: dynamic planning 09 (weight of the last stone II)
- [paper notes] mobile robot autonomous navigation experimental platform based on deep learning
- 2022 summary of the latest Android handler related interview questions
- Collection | 0 basic open source data visualization platform flyfish large screen development guide
猜你喜欢

8000字讲透OBSA原理与应用实践

20220726汇承科技的蓝牙模块HC-05的AT命令测试

Capacity expansion and reduction of RBD block storage device (VI)

After 95, Alibaba P7 published the payroll: it's really heartbreaking

leetcode刷题:动态规划09(最后一块石头的重量 II)

How does win11 display fixed applications?

redis源码分析(谁说C语言就不能分析了?)

单调栈——739. 每日温度

8000 word explanation of OBSA principle and application practice
D2dengine edible tutorial (4) -- draw text
随机推荐
Tungsten Fabric SDN — BGP as a Service
LabVIEW加载和使用树型控件项目中的定制符号
D2DEngine食用教程(4)———绘制文本
2022-07-27: Xiao Hong got an array arr with a length of N. she is going to modify it only once. She can modify any number arr[i] in the array to a positive number not greater than P (the modified numb
玩一玩WolframAlpha计算知识引擎
8000 word explanation of OBSA principle and application practice
203.移除链表元素
203. Remove linked list elements
高等数学(第七版)同济大学 习题3-4 个人解答(前8题)
⽇志分析⼯具(Splunk)
Leetcode brush question: dynamic planning 09 (weight of the last stone II)
VMware virtual machine network settings
Xctf attack and defense world web master advanced area php2
[5g NR] RRC reject analysis
12月份PMP考试首次采用新考纲,该怎么学?
MangoPapa 的实用小脚本(目录篇)
CF question making record from July 25th to July 31st
动态规划——416. 分割等和子集
Asemi rectifier bridge gbpc5010, gbpc5010 parameters, gbpc5010 size
动态规划——62. 不同路径