无法通过Anaconda Navigator安装Spyder [英] Can't install Spyder through Anaconda Navigator

查看:459
本文介绍了无法通过Anaconda Navigator安装Spyder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法通过Anaconda Navigator安装Spyder.我是一个完全的Python初学者,我不知道出了什么问题.

I cannot install Spyder through Anaconda Navigator. I am a complete beginner when it comes to Python and I have no idea what's going wrong.

我必须创建一个新环境并在那里打开一个项目.

I have to create a new environment and open a project there.

到目前为止,我所做的是:通过Anaconda Navigator(1.9.7),我创建了一个新环境(使用Python 3.6).然后,针对此特定环境,我尝试安装Spyder.我单击安装"按钮,出现进度条,然后什么也没有发生.

What I did so far is: through Anaconda Navigator (1.9.7) I created a new environment (with Python 3.6). Then, for this specific environment I try to install Spyder. I click the 'install' button, a progress bar appears and then nothing happens.

我在朋友的笔记本电脑上尝试了相同的步骤,当我单击此处的安装时,进度栏也会出现.完成后,安装"按钮变为启动".我在两台计算机之间看到的唯一区别是,我拥有Windows10,而他拥有Macbook.我不知道这是否可能是问题所在.

I tried the same steps on friend's laptop and when I click install there, the progress bar also appears. When it's done the 'install' button changes to 'launch'. The only difference that I see between our computers is that I have Windows10 and he has a Macbook. I don't know whether this could be the problem somehow.

如何为特定环境安装Spyder?我在Anaconda Navigator中安装的系统出了什么问题?

How can I install Spyder for a specific environment? What's going wrong with my installation in Anaconda Navigator?

另外,当我尝试通过Anaconda Prompt(具有管理员权限)安装Spyder时,出现以下错误:

Also, when I try to install Spyder through Anaconda Prompt (with Administrator privileges), I get the following error:

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'defaults::openssl-1.1.1b-he774522_1'.
PermissionError(13, 'Permission denied')
Attempting to roll back.

Rolling back transaction: done

[Errno 13] Permission denied: 'C:\\Users\\eweli\\Anaconda3\\envs\\HAABSA\\Library\\bin\\libssl-1_1-x64.dll'

推荐答案

要安装spyder,请转到命令行和工作目录.通过键入

To install spyder, go to the command line and to the directory where you work. Activate your virtual environment by typing

conda激活环境名称

然后返回一次,只需输入

Then once that returns just type

conda安装工具

这应该在您的虚拟环境中安装spyder.

This should install spyder in your virtual environment.

这篇关于无法通过Anaconda Navigator安装Spyder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆