After Update of running update -- all anaconda + Spyder disappeared - anaconda

I run an update today as the systems have not been updated for a while and now after running "conda update -- all" in the anaconda prompt - everything seems to be away. I can find neither Spyder or Anaconda prompt in the Windows search bar. :(
Do i need to deinstall and install everything again? Please help!!!

Related

Spyder Debugger Crashes

Mac OS 12.2.1
Anaconda Navigator 2.1.2
Spyder 5.1.5
I’ve been to the Spyder Web site, performed what was described as “Basic First-Aid” as well as “Emergency CPR” without satisfactory resolution. The first symptom was that the debugger just hung. After performing the suggested fixes (updating Anaconda, Spyder, and Spyder dependencies, system re-boot, etc.), the debugger now reports: “OperationalError: attempt to write a readonly database.”
I’m at my wits’ end. I’m wondering if I need to completely re-install all of Anaconda. Is there a “best way” to do this? Is there a web site that I can consult that will demonstrate how to get a fresh installation?
ADDENDUM
So, I cleaned Anaconda from my machine (what a horrific experience!) and re-installed it, using conda for both tasks. I started Anaconda and then launched Spyder. Then I loaded one of my modules, set a brake-point in the editor, and boom! The Spyder debugger worked. However, the new installation of Anaconda was lacking a particular library: pyreadstat. I used conda to get this library. I then launched Anaconda again, saw that pyreadstat was now in the base(root) environment. I ran one of my packages (8 modules mainly consisting of numpy and itertools manipulations of N-D arrays) and everything worked, including calls to pyreadstat to read SAS datasets. Okay, everything seemed copacetic. So, I tried to debug one of my modules and the debugger failed again, returning the message: “OperationalError: attempt to write a readonly database.” WTF! Is conda trashing Spyder’s debugger in some mysterious way? I don’t get it. Why would pyreadstat affect Spyder. It must be conda.
To answer my own question, in the Mac Terminal app, I typed:
--> conda install -c conda-forge spyder=5.2.2
Boom! All is well.
I had the same problem on Windows10 with spyder version 5.1.5.
For me, updating Spyder to the newest version as suggested here worked as well. This can be done in two ways:
Console
Open the console or, if you're working on Windows, the Anaconda Prompt and type the following commands in order to first uninstall spyder, and then re-install the newest version (just updating didn't work for me).
conda remove -n myenv spyder
conda install -n myenv -c conda-forge spyder
The first command, remove, uninstalls spyder in the virtualenv called 'myenv'. If you don't use virtualenvs, just leave the -n myenv aside.
The second command, install installs spyder from the third-party channel conda-forge instead of the official channel defaults. This option is necessary in order to install a spyder version newer than 5.1.5
Anaconda Navigator
Uninstall Spyder: In the "Home" tab, select the correct virtual environment in the "Applications on" dropdown menu. Then click on the gear symbol in the upper right corner of the spyder tile and select "remove application".
Add conda-forge to your environment's channels: This is nicely described at the bottom of this page.
Install spyder again, in the way you did it the first time.
Click again on the gear on the spyder tile, choose "install specific version" in order to update to the newest version. Now, versions newer than 5.1.5 should be available.

Anaconda Spyder 4.1.5 updates

I have the most recent Anaconda navigator on both my Windows and Linux machines, but when i open Spyder on either machine it tells me that Spyder 4.1.5 is available and i should install it. I can't do this through navigator.
The Anaconda page says to run 'conda install -c anaconda spyder' to install Spyder 4.1.5. link: Anaconda.org page On my linux machine this just tries to install Spyder 4.1.4 (Ubuntu screeenshot), I get the same result with windows (windows screenshot)
It seems this is a regular issue, what is the point of relesaing a piece of software and then not allowing it to be downlaoded and installed in the very manner that both Anaconda and Spyder tell you to do it?
Since you seem to have a previous version installed, did you try a simple update from the conda prompt?
conda update spyder --dry-run
Just remove the --dry-run part if everything looks fine.

How to upgrade Spyder in Anaconda? [duplicate]

This question already has answers here:
Trouble updating to Spyder 4.0.0
(8 answers)
Closed 2 years ago.
I just installed new Anaconda with Python 3.7. The Spyder version is still 3.36 and it says there is an new version 4.0.1 available each time I started Spyder.
I tried to upgrade Spyder using two approach:
conda update spyder (it didn't work even there was no error)
conda install spyder=4.0.1
Using second method, found so many conflict like below.
Open "Anaconda Navigator" and in Spyder Frame you'll see a gear icon, click on that and then click on "Update Application".
I had the same problem, using the Spyder icon little wheel of Anaconda home. It was running forever and, if lucky stopped without updating.
To solve the issue, I opened the "Anaconda prompt" (as admin, just in case), launched the command:
conda update --all
The back to Anaconda home, little wheel of Spyder icon and chose the highest version. The install tool a few dozen of secs.

Error on Anaconda 5.3 while installing RStudio , saying offline mode

I downloaded Anaconda 5.3 and am trying to Install RStudio in it. I get the below error always after upgrading.
"Some of the functionality of Anaconda Navigator will be limited in offline mode."
"Installation and upgrade of packages will be subject to the packages currently available on your package cache."
Even if the internet is connected, I get the same error which didnt happen with previous version. Does anyone know how to overcome this? Please advise.
Btw, RCran and RStudio are not approved software and hence I am trying to use the one through Anaconda IDE.
Same as you here, there is an issue related https://github.com/ContinuumIO/anaconda-issues/issues/10176.
While anaconda-navigator having this problem, you can still install packages through anaconda prompt.
open anaconda prompt in your start menu
type conda install rstudio

How to restore shortcuts to Anaconda after upgrading to Windows 10

Recently I upgraded from Windows 8.1 to Windows 10. Although Windows said it didn't change anything to my files and folders, this was not the case. Only one of the shortcuts in my Anaconda folder in the start menu remained. This was the Anaconda Prompt so I thought I just run the following commands to fix my links:
conda update conda -f
conda update anaconda -f
Although this returned a few links, it did not restore everything which means I was stuck with a dysfunctional installation of Anaconda.
The following worked for me (albeit on Windows 7):
Open a command prompt as administrator
Execute "C:\Anaconda3\pythonw.exe" "C:\Anaconda3\Lib\_nsis.py" mkmenus
I use Miniconda. When I updated with
conda update conda
there were these following lines along with the list of packages to be updated:
The following packages will be REMOVED:
console_shorcut-0.1.1-3
powershell_shortcut-0.0.1-2
I saw those lines after the update and the shortcut to the command window was gone. So I restored the Anaconda Prompt command window shortcut with
conda install console_shortcut
mkmenus did not work for me but the following worked on Windows 10 32-bit, Miniconda3.
Open command prompt (admin privileges not required).
Navigate to your Miniconda\Scripts directory. Replace kk with your username.
cd "C:\Users\kk\Miniconda3\Scripts"
Run Activate.bat
activate.bat
Install console_shortcut.
conda install -c anaconda console_shortcut
When using Miniconda installed for the local user:
C:\Users\<username>\AppData\Local\Continuum\Miniconda3\pythonw.exe C:\Users\<username>\AppData\Local\Continuum\Miniconda3\Lib\_nsis.py mkmenus
This was also on Windows 7.
To solve this I did the following:
Remove Anaconda with "add or remove program" link
Reinstall Anaconda with the latest installer link
After this everything is restored and since the uninstall program does not remove user files your environments and settings are also still there. If for some reason you stored projects in the Anaconda folder, this folder will be removed so watch out for that ;)

Resources