当前位置:网站首页>Solve the problem that Anaconda environment cannot be accessed in PowerShell
Solve the problem that Anaconda environment cannot be accessed in PowerShell
2022-07-03 05:57:00 【Leiqiu is the cutest】
solve Anaconda The environment cannot be in Powershell Enter the question
As a perennial mac user , Recently, due to the problem of computational power, I have to use windows, In the configuration anaconda There are many problems when , Like direct use linux/macOS Available in
conda activate < Environment name >
stay powershell Environment cannot be opened in , It won't even show
(base) PS C:\Users\xxx
And enter base Environmental Science .
in fact , After consulting many materials, I found ,conda It's not supported in powershell Use in activate < Environment name >/deactivate < Environment name > Methods . You need to use the command to install the plug-in , The Project warehouse
conda install -n root -c pscondaenvs pscondaenvs
I encountered permission problems during installation , Therefore, this step uses administrator permission to install
Wait a while , You can exit the current powershell Interface , In addition, open an administrator permission powershell Interface , Input
Set-ExecutionPolicy RemoteSigned
To implement policy changes , Choose from the options given Y, You can complete the change , It can be used later activate The command switches the environment , But there will still be warnings
WARNING: The conda.cli.activate module is deprecated and will be removed in a future release.
WARNING: The module conda.cli.activate is deprecated. It will be removed in a future feature release (i.e. minor version release).
WARNING: The conda.cli.activate module is deprecated and will be removed in a future release.
WARNING: The module conda.cli.activate is deprecated. It will be removed in a future feature release (i.e. minor version release).
边栏推荐
- [function explanation (Part 1)] | | knowledge sorting + code analysis + graphic interpretation
- Mapbox tasting value cloud animation
- [teacher Zhao Yuqiang] the most detailed introduction to PostgreSQL architecture in history
- Capacity expansion mechanism of map
- 2022.7.2 simulation match
- Maximum likelihood estimation, divergence, cross entropy
- NG Textarea-auto-resize
- 期末复习(day3)
- pytorch 多分类中的损失函数
- Sophomore dilemma (resumption)
猜你喜欢

Configure DTD of XML file

项目总结--04

Multithreading and high concurrency (7) -- from reentrantlock to AQS source code (20000 words, one understanding AQS)

Understand expectations (mean / estimate) and variances

Detailed explanation of contextclassloader

Final review (Day5)

Apache+PHP+MySQL环境搭建超详细!!!

Bio, NiO, AIO details

How to create and configure ZABBIX

一起上水硕系列】Day 9
随机推荐
Yum is too slow to bear? That's because you didn't do it
[teacher Zhao Yuqiang] index in mongodb (Part 2)
NG Textarea-auto-resize
[teacher Zhao Yuqiang] index in mongodb (Part 1)
Btrfs and ext4 - features, strengths and weaknesses
[teacher Zhao Yuqiang] MySQL flashback
Exception when introducing redistemplate: noclassdeffounderror: com/fasterxml/jackson/core/jsonprocessingexception
Configure DTD of XML file
C 语言文件操作函数大全 (超详细)
Final review (Day6)
多线程与高并发(7)——从ReentrantLock到AQS源码(两万字大章,一篇理解AQS)
It is said that the operation and maintenance of shell scripts are paid tens of thousands of yuan a month!!!
JDBC connection database steps
[untitled]
Introduction to redis using Lua script
Jedis source code analysis (II): jediscluster module source code analysis
Linux登录MySQL出现ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
Apache+PHP+MySQL环境搭建超详细!!!
Use telnet to check whether the port corresponding to the IP is open
Ext4 vs XFS -- which file system should you use