5
Python3.10.4激活venv环境失败解决方法
source link: https://blog.51cto.com/u_15867943/6008546
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Python3.10.4激活venv环境失败解决方法
精选 原创环境 python -m venv venv
venv\Scripts\activate 激活环境失败 解决方案
输入get-executionpolicy
PS D:\flaskBlog> get-executionpolicy
Restricted
PS D:\flaskBlog> set-executionpolicy remotesigned
PS D:\flaskBlog> get-executionpolicy(最后检查是否更改成功)
重启VSCode,执行venv\Scripts\activate
查看环境激活成功。
- 2赞
- 2收藏
- 评论
- 分享
- 举报
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK