0
点赞
收藏
分享

微信扫一扫

解决word转PDF图像失真模糊的问题

崭新的韭菜 03-22 16:00 阅读 2

一、问题描述

  • 在windows下win+r启动cmd命令行,可以成功运行conda命令并且激活环境
  • 在pycharm中打开Terminal终端,发现无法运行condapip命令,报错环境无法激活
无法在管道中间运行文档: D:\software\Anaconda3\condabin\conda.bat。
所在位置 行:1 字符: 8                                                                                                 
+        & 'D:\software\Anaconda3\condabin\conda.bat' shell.powershell  ...                                           
+        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                               
    + CategoryInfo          : InvalidOperation: (D:\software\Anaconda3\condabin\conda.bat:String) []RuntimeException
    + FullyQualifiedErrorId : CantActivateDocumentInPipeline                                                          
                                                                                                                      
Failed to activate conda environment.                                                                 
Please open Anaconda prompt, and run `D:\software\Anaconda3\condabin\conda.bat init powershell` there.

在这里插入图片描述

二、问题原因

pycharm 默认的终端是 Windows PowerShell
在这里插入图片描述

三、解决方法

将终端设置为 cmd.exe
在这里插入图片描述

举报

相关推荐

0 条评论