Anaconda Navigator (1.9.7) Stuck in offline mode - Mac - python

My anaconda navigator app seems to be stuck on offline mode. I have tried different methods that i have read online but nothing seems to fix the problem. It just says that it is working in offline mode. I tried turning off the firewall, restarting the app, even updating the distro but nothing seems to work so far...
The only thing i didn't try (since i couldn't figure out how to do it on a mac) is opening port 53 to the host="8.8.8.8" as suggested on github, but i am not sure if this would work since turning off my firewall didn't seem to fix the issue.
I am using Anaconda Navigator 1.9.7 on a Mac OS 10.14.16 Mojave and Python 3.7.4
Any suggestions would be much appreciated, thanks.

If you open anaconda-navigator and go to Preferences, there is a switch to disable off-line mode. See image below.

Related

No menu for adding WSL python interpreter in PyCharm

I was following this guide from official jetbrains page, until the step 2 comes in the existence.
In the picture mentioned in that page, has so many options like ssh, wsl, vagrant, docker, etc. In my pycharm (latest 2019.3.4) it only shows 4 options - venv, conda, pipenv and system-interpreter.
There is no WSL menu in the add python interpreter dialog.
See the below image:
Searched web for an hour and found no results that show how to fix it. I started plugin search in the PyCharm if there's an external plugin to do so, but there were no plugin named as WSL.
I don't know how to setup the WSL interpreter, I have python3.8 installed on my wsl right now.
Any help will be appreciated!
I have solved this by
Uninstalling pycharm with history and cache.
Removing folders completely from C:\Users\%USERNAME%\AppData\Local and C:\Users\%USERNAME%\AppData\Roaming\JetBrains and
Clean re-install of pycharm
WSL interpreter option shows up as normal
Ideavim is creating a conflict I guess.
This helped me without having to reinstall PyCharm. In PyCharm go to
File, Manage IDE Settings, Restore Default Settings.
I think PyCharm was unable to find my WSL after I updated my WSL's Ubuntu 20.04 to Ubuntu 22.04 and changed the name. (Maybe this issue wouldn't have come up if I had kept the name "Ubuntu-20.04".)

Anaconda Navigator and Spider not opening (Shell works)

The navigator was working fine till about November and then it stopped working after I installed Cuda 10.0. I uninstalled Cuda and that did nothing. I uninstalled anaconda and reinstalled it but that did nothing. There is no error message or feedback at all when I click the icon or right-click and run. The python shell works but none of the guis work. I tried updating the navigator and that did not solve the issue. I also read all the other posts about the navigator not working I could find. When I tried installing another navigator, the navigator opened but the GUI had all broken buttons. I was too busy to deal with the issue at the time but now that I have the time I want to get back. Also something to note, the anaconda version that worked was 3.4, none of the newer versions have worked on my PC ever.
I am a beginner python programmer.

Conda keep opening this Python Interpreter

I installed Anaconda 3. After Install I reboot the computer but, when I opened Anaconda Navigator, this keep happening, first this CMD window appears Conda.exe
and then this window appears gpython.exe
Before reboot, everything fine, I could open Anaconda Navigator. After reboot, (insert Billy Butcher from the Boys) BOOM, this happen.
This also happens everytime I type "conda" on the command prompt,with the python interpreter (second picture) keep appearing. So pretty much any solution on the internet that told me to use "conda" doesnt help.
Also this happens to every Anaconda Application (Anaconda Prompt, Anaconda Navigator).
I believe that whenever you launch anaconda conda.exe will run, at least it does for me.
Regarding gpython.exe, I could only find the following question referring to it
Django error: Command throws a python window when executing makemigrations command in a Python/Django project
This makes it seem like your anaconda may require a reinstall, I checked my anaconda files and couldn't find a gpython.exe in the path where yours appears, so this may be the case. Hope this helps.

How to open the Anaconda Navigator with Windows 10

I wanted to get my hands on the Anaconda Navigator. Recently on a normal PC I opened it and used it as if I'd been using it my whole life, the thing is that that PC uses Windows 7.
My laptop, however, has Windows 10 and it does not work. Anaconda installed after one hour and the navigator does not appear. I don't know if it's the whole of Windows 10 or just my machine, but it seems to me that the navigator should be here somewhere. The problem lies in that the 'Start' option for Windows 10 does not allow a user to ACTUALLY search for files ON their computer (total bummer since it makes everything difficult), so only the anaconda prompt and some "web searches" appear. Completely useless whatsoever.
I did try using the anaconda prompt with the help of a previously posted question (Anaconda Installed but Cannot Launch Navigator) with an identical problem to mine, where some of you mentioned that I should try the command 'anaconda-navigator', 'anaconda-navigator as', 'anaconda navigator', amongst other commands. None of which worked in any possible way. The commands were ignored since they just invoked errors that I do not know of.
Does anyone know what I should do/try, and if possible, leaving the option of reinstalling Anaconda all over as the last option? Thank you guys, would really help.
Ps: I downloaded the latest version for 64-bit Windows from the official page of Anaconda
Open the terminal (win+r and write cmd then press enter)
Call conda info (conda should be installed.)
One of the response fields should be base environment : followed by a directory.
In that directory there should be a Scripts folder containing the anaconda-navigator application. Hit it and wait patiently while it spins up. Navigator should open. You can point shortcuts here and so on.
I had a similar problem, but it cleared up after running Spyder once.

How to reset Spyder IDE (Python 2.7) graphic user interface?

I am trying to reset the interface I have tried to misaligned.
I couldn't find it in settings. I have also tried uninstalling and reinstalling it. No luck.
Can you help me to reset it?
Thanks.
(Spyder-dev here)
We will include a way to reset spyder configuration from within the user interface in the upcoming version (3.0.0).
In the meantime you can reset by opening a terminal window (cmd in windows.. shell in Mac/Linux) and typing
spyder --reset
If that still does not work you can erase the folder .spyder in your user folder
Windows
X:\Users\username\.spyder2\ (or X:\Users\username\.spyder\)
Linux
\home\username\.spyder2\ (or \home\username\.spyder\)
I'm using Spyder 3.1.2
Just go to View → Window Layouts → Reset to Spyder default.
For anyone, who has problem restoring the defaults settings,
Open Terminal and type:
rm -r ~/.spyder
I am using Spyder 2.3.9.
I was able to reset the windows using View->Reset Window Layout.
The original post could be on older version, where this option did not exist!
Tools >> Reset Spyder to Factory Defaults. Tested on Spyder 3.1.4
I found a way arround this problem( works for me )
I had the issue that there were 2 seperated windows(I tried to reset the view but it didnt work) and I couldn´t move one of them.
My way arround it was to drag the non movable window a bit bigger(I tried to change its size) then that window became movable for me and I could drag it into the other to get the default view again.
Maybe it works for somebody aswell, just wanted to share.
(3.2.4)
You only need update your Spyder version using this command on Anaconda Prompt
pip install -U spyder
It's has fixed on my IDE.
If you can't fix delete your Spyder folder (.spyder-py3) in your directory like : C:\Users*Your-User*
Do following steps
View->Reset Window Layout.
Also do not forget to restart the application. It was not worked for me without restart.
I hope it should work for you.
If still this not work you can do Tools->Reset Spyder for factory default.
I'm using Anaconda Navigator and Spyder 3.3.2. Open Anaconda Prompt, then type:
spyder --reset
To open Anaconda Prompt in Windows: Click Start, search or select Anaconda Prompt from the menu.

Categories