Anaconda Navigator 无法创建新环境 [英] Anaconda Navigator cannot create new environment

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

问题描述

我需要在工作中使用 Python,今天刚刚安装了 Anaconda Navigator.我可以毫无问题地打开 Navigator GUI.我能够打开创建新环境提示.我填写详细信息并点击确定.

I need to use Python at work and just installed Anaconda Navigator today. I am able to open the Navigator GUI without any problems. I am able to open the Create new environment prompt. I fill out the details and hit ok.

Navigator 为我在 base(root) 选项卡下请求的环境创建了一个新选项卡.在底部它说:创建环境"并且有一个蓝色进度条和一个取消按钮.它这样做了一段时间,然后新标签消失了,它不再说在底部创建环境并且进度条消失了.

Navigator creates a New tab for the environment I requested under the base(root) tab. At the bottom it says: "Creating environment" and there is a blue progress bar and a cancel button. It does this for a while then the new tab disappears and it no longer says creating environment at the bottom and the progress bar is gone.

在新环境提示中,它告诉我它将保存环境的位置.我去了那个文件夹,标签消失后那里什么也没有.

In the new environment prompt, it tells me where it will save the environment. I have gone to that folder and there is nothing there after the tab disappears.

我在 Windows 7 Enterprise 上使用 Anaconda Navigator 1.9.2.由于我在工作计算机上,这是我们唯一可以使用的 Anaconda 版本,因此我无法更新到最新版本.虽然我需要 python 2.7 版,但我已经尝试为 2.7、3.5、3.6 和 3.7 版(这是我的所有选项)创建一个新环境,只是为了看看它是否适用于其中任何一个,但它不适用.有一次创建环境没有消失,只是持续了一个小时,什么也没发生,我当时正在尝试python 3.6.

I am using Anaconda Navigator 1.9.2 on Windows 7 Enterprise. Since I am on my work computer, this is the only version of Anaconda we are allowed to use, so I can't update to the newest version. Although I need python version 2.7, I have tried creating a new environment for version 2.7, 3.5, 3.6 and 3.7(which are all of my options) just to see if it works for any of them and it does not. One time the creating environment didn't disappear, but it just kept going for an hour and nothing happened, I was trying python 3.6 at the time.

我能够加载 https://api.anaconda.org/,所以我没有认为我的公司正在阻止 api.它返回了这个:

I was able to load https://api.anaconda.org/, so I don't think my company is blocking the api. It returned this:

{
"api_docs_url": "https://api.anaconda.org/docs", 
"brand": "Anaconda Cloud", 
"conda_url": "https://conda.anaconda.org/", 
"main_url": "https://anaconda.org/", 
"ok": 1, 
"pypi_url": "https://pypi.anaconda.org/", 
"swagger_url": "https://api.anaconda.org/swagger.json"
}

推荐答案

问题在某种程度上得到了解决.我安装了两个版本,所以我卸载了它们并重新安装了一次 Anaconda.现在我可以使用@Ares 中的代码从命令行创建新环境,但 Anaconda Navigator 甚至无法打开.这对我来说已经足够了.

The issue is somewhat resolved. I had two versions installed, so I uninstalled both of them and reinstalled Anaconda once. Now I can create new environments from the command line using the code from @Ares, but Anaconda Navigator won't even open. This is good enough for me for now.

这篇关于Anaconda Navigator 无法创建新环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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