[英]Permession denied error while installing pyldavis in conda env [Errorno 13]
我正在尝试使用命令conda install -c conda-forge pyldavis
pyldavis
在pyldavis
env 中conda install -c conda-forge pyldavis
但出现以下错误:
ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::openssl-1.1.1d-hfa6e2cd_0'
[Errno 13] Permission denied: 'C:\\<Path>\\Library\\bin\\libssl-1_1-x64.dll'
我正在尝试使用命令conda install -c conda-forge pyldavis
pyldavis
在pyldavis
env中conda install -c conda-forge pyldavis
但出现以下错误:
ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::openssl-1.1.1d-hfa6e2cd_0'
[Errno 13] Permission denied: 'C:\\<Path>\\Library\\bin\\libssl-1_1-x64.dll'
Run as Administrator doesn't work.以管理员身份运行不起作用。 I was able to fix it by grabbing the same file from another environment and replacing it (kept a backup though).我能够通过从另一个环境中获取相同的文件并替换它来修复它(尽管保留了备份)。 Hopefully, there are no unintended consequences.希望不会有意外的后果。
I had the same issue installing python-dotenv
.我在安装python-dotenv
遇到了同样的问题。 Running the command prompt (or in my case, simply running VSCode through which I normally access the terminal) as administrator fixed the issue.以管理员身份运行命令提示符(或者在我的情况下,只需运行我通常通过其访问终端的 VSCode)即可解决该问题。
I had a similar issue when installing the sentence-transformers package with a particular file causing the issue: libssl-1_1-x64.dll在安装带有导致问题的特定文件的句子转换器包时,我遇到了类似的问题:libssl-1_1-x64.dll
Simply tracking down the file and deleting it fixed the problem.只需跟踪文件并将其删除即可解决问题。 When I tried again the install worked with no hitches.当我再次尝试时,安装工作顺利进行。 I suspect the problem came up when the version needed to be downgraded or upgraded from whatever I have in my base or what some other package had installed.我怀疑当版本需要从我的基础中的任何内容或其他一些软件包安装的版本进行降级或升级时,问题就出现了。 It also makes sense that a security related .dll would cause some extra heartburn.与安全相关的 .dll 会导致一些额外的胃灼热也是有道理的。
In my case it was located at: D:\\installed_software\\anaconda3\\envs\\nlp-intents\\Library\\bin where "nlp-intents" is the environment name.就我而言,它位于: D:\\installed_software\\anaconda3\\envs\\nlp-intents\\Library\\bin 其中“nlp-intents”是环境名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.