当前位置:网站首页>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
边栏推荐
- Airiot Q & A issue 6 | how to use the secondary development engine?
- How to make the Internet access the intranet IP (used by esp8266 web pages)
- MySQL stored procedures use cursors to synchronize data between two tables
- 高等数学(第七版)同济大学 习题3-6 个人解答
- AI首席架构师12-AICA-百度OCR垂类规模化落地实践
- Redis基本操作
- Version compatibility issues
- 一篇文章掌握Postgresql中对于日期类数据的计算和处理
- [wrong question]
- Prefix-Tuning: Optimizing Continuous Prompts for Generation
猜你喜欢

ASEMI整流桥GBPC5010,GBPC5010参数,GBPC5010大小

4-day excel practical training camp, 0.01 yuan special offer for only three days, 200 sets of learning kits

Airiot Q & A issue 6 | how to use the secondary development engine?

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

tensorboard使用记录
![[paper notes] mobile robot autonomous navigation experimental platform based on deep learning](/img/6a/7f0c2b2a53332636f3172bc3b0b74d.png)
[paper notes] mobile robot autonomous navigation experimental platform based on deep learning

Methods of SQL server backup database

SAP UI5 FileUploader 控件深入介绍 - 为什么需要一个隐藏的 iframe 试读版

LabVIEW loads and uses custom symbols in tree control projects

20220726汇承科技的蓝牙模块HC-05的AT命令测试
随机推荐
动态规划——63. 不同路径 II
AIRIOT答疑第6期|如何使用二次开发引擎?
golang 获取循环嵌套结构的tag
VBA reads the create document of SQL in batches to create tables
[5g NR] RRC reject analysis
玩一玩WolframAlpha计算知识引擎
【OPENVX】对象基本使用之vx_distribution
沃尔沃:深入人心的“安全感” 究竟靠的是什么?
leetcode刷题:动态规划09(最后一块石头的重量 II)
Tungsten Fabric SDN — BGP as a Service
Super nice PHP program source code of nteam official website
如何让外网访问内网IP(esp8266网页使用)
20220727 use the Bluetooth module hc-05 of Huicheng technology to pair mobile phones for Bluetooth serial port demonstration
TypeError: ufunc ‘bitwise_and‘ not supported for the input types, and the inputs could not be safely
【P4】 查看库文件两个历史版本的区别
8000 word explanation of OBSA principle and application practice
What is tor? What is the use of tor browser update?
The open source of "avoiding disease and avoiding medicine" will not go far
Integrate SSM to realize search of addition, deletion, modification and query
单调栈——42. 接雨水——面大厂必须会的困难题