Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anaconda Navigator cannot create new environment

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 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.

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.

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"
}
like image 390
MBA Coder Avatar asked Mar 20 '19 21:03

MBA Coder


People also ask

How do you create an environment in Anaconda Navigator?

Step 1 of 4: Create a new environmentOpen Anaconda Navigator and select the Environments tab in the left menu (1). Click Create (2) and type a suitable name, we recommend using your course code and the current semester, for example TMA4100h17 . Select the Python version you want to use and click Create.

Why is Anaconda not installing properly?

Anaconda installs and updates can silently fail due to conflicts with 3rd party antivirus (for me it's WebRoot ) programs. An indicator of Anaconda antivirus conflicts is missing .exe and . bat files, and sometimes requests to reboot. The fix is to shutdown the antivirus program and reinstall Anaconda .

Why is my Anaconda Navigator not launching?

Anaconda navigator won't launch Sometimes you will face the issue in which the Anaconda navigator will not be able to start. In order to solve this, make sure to move into the scripts directory C:\Anaconda\Scripts.

Which of the following environment are provided by Anaconda Navigator?

Navigator allows you to launch common Python programs and easily manage conda packages, environments, and channels without using command-line commands. Navigator can search for packages on Anaconda Cloud or in a local Anaconda Repository. Navigator is available for Windows, macOS, and Linux.


1 Answers

I also had a fresh anaconda-navigator installation on my mac which was not creating a new environment. The following solved the problem

conda update anaconda-navigator
like image 183
Areza Avatar answered Nov 07 '22 02:11

Areza