File C:\Users\admin\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts
conda activate报错
File C:\Users\admin\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts is disabled on this system.
解决方法
参考stackoverflow的解答
步骤如下:
- 使用管理员模式打开powershell。如果你不知道如何以管理员方式打开,可以按下win+r,然后输入
powershell
,然后按下Ctrl+Shift+Enter。 - 键入
Set-ExecutionPolicy RemoteSigned
这样做应该是让你的系统能运行conda的脚本。如果你想设置回去,那么powershell管理员模式下键入
Set-ExecutionPolicy Restricted
File C:\Users\admin\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts相关推荐
- powershell 启动时报错 profile.ps1 cannot be loaded because running scri
powershell启动时报错,但是仍然可以启动 出错问题 解决方式 出错问题 powershell启动时,见到报这种错误: File C:\Users\xxxx(我的名字,这里先打码了)\Docum ...
- powershell激活conda失败;无法加载文件 C:\Users\user\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本
在执行vscode中 按F5调试python脚本时报以下错误 Exception has occurred: ImportError DLL load failed: 找不到指定的程序. File & ...
- 无法加载文件 C:\Users\haoqi\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本
anaconda 卸载重装后,再次用VScode运行代码会报如下错误: 无法加载文件 C:\Users\haoqi\Documents\WindowsPowerShell\profile.ps1, 因 ...
- 未对文件 C:\Users\Administrator\Documents\WindowsPowerShell\profile.ps1 进行数字签名。无法在当前系统上运行该脚本。
未对文件 C:\Users\Administrator\Documents\WindowsPowerShell\profile.ps1 进行数字签名.无法在当前系统上运行该脚本. 根据文档修改发现 也 ...
- powershell配置anaconda及解决【无法加载文件C:\Users\xxx\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本】的问题
配置 Anaconda安装教程 安装好Anaconda后,cmd中可以正常使用,但powershell中无法activate环境(在我电脑上的表现为activate后通过conda env list查 ...
- 【vscode】执行C++文件时出现错误法加载文件 C:\Users\hp\Documents\WindowsPowerShell\profile.ps1
一.问题背景 Windows PowerShell 尝试新的跨平台 PowerShell https://aka.ms/pscore6 . : 无法加载文件 C:\Users\hp\Documents ...
- 问题随记 ——【Windows】无法加载文件 C:\Users\Administrator\Documents\WindowsPowerShell\profile.ps1
文章目录 问题描述 解决方法 问题描述 打开 PowerShell 出现以下报错: . : 无法加载文件 C:\Users\Administrator\Documents\WindowsPowerSh ...
- . : 无法加载文件 C:\Users\1\Documents\WindowsPowerShell\profile.ps1
解决方案: 以管理员身份运行PowerShell 执行:get-ExecutionPolicy,回复Restricted,表示状态是禁止的 执行:set-ExecutionPolicy RemoteS ...
- Pycharm报错:\Scripts\activate.ps1 cannot be loaded because running scripts is disabled on this system
刚刚安装了最新的Pycharm,打开新的project就报错 搞了半天终于解决好了 方法: 1.在 Pycharm中输入 get-executionpolicy,回车返回 Restricted 2.然 ...
最新文章
- java 创建5个线程_Java创建线程的三种方式
- C语言入门练习 - 第三期 数组(题解)
- python就业前景分析-最新的Python就业前景分析一览表
- 初探AngularJS6.x---目录结构说明
- vue 回车查询 按钮_从零开始学习vue
- Python panads数据处理一
- python mss_Python实现的连接mssql数据库操作示例
- 【Spring Cloud】注册中心-Euraka
- 软件性能测试中常见问题,性能测试常见的问题
- 《程序员代码面试指南》第三章 二叉树问题 判断t1树是否包含t2树全部的拓扑结构...
- java 安卓 教学视频教程下载,老罗Android开发视频教程[共9大知识点] 下载
- java从地址串中解析提取省市区-完美匹配中国所有地址
- 海迅2016破解版下载
- 阿里云OSS前端直传踩坑
- Python爬虫第三课:我的人生第一只爬虫
- [zz]yum缓存安装的软件
- 支付宝钱包系统架构图解,真的太优秀了!
- 中芯国际二零一八年第三季度业绩公布
- php随机名人名言,自建网站随机名言警句API也就是一言随机名句api【教程】
- C# 键盘钩子捕获扫码枪
热门文章
- 集线器,路由器,交换机的作用和差别是什么?怎样区分交换机,集线器,路由器?...
- [史上最全]笔记本更换内存条和固态硬盘重装系统教程
- 【Android--项目构建失败原因及解决】
- 图像处理与计算机视觉基础相关领域的经典书籍以及论文
- 金山 V8 终端安全系统 默认弱口令漏洞
- 设备扩展(DEVICE_EXTENSION)
- qq邮箱中的发件服务器是什么格式,qq邮箱的SMTP服务器是什么
- AI_综述----图像分割综述
- 不用软件批量缩小图片文件的大小
- SSH Tunneling (SSH隧道)远程连接服务器