Spyder not installable - anaconda

I am a novice so sorry for the stupid mistake.
I have installed Spyder both on the base and in a custom environment in Anaconda. Now I have created a new one, and installed the spyder-kernels but I am not able to install spyder itself anymore. If I try a receive an error "Spyder can't be installed on this environment". If I open spyder it works on the new environment, but if I go to anaconda home and set the environment I see "Install" on the Spyder application.

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.

Trouble with installation of Anaconda 2020.02

Whenever I try to install Anaconda, Anaconda Navigator, Anaconda Prompt then all other applications are not included in the Anaconda3 folder. Is there any reason for this? I'm unable to find a solution for this.

Issues when updating to Spyder 4.0.1 with Anaconda - Reverts to Version 3.3.6 when updating in Anaconda Navigator

I am trying to update to the latest version of Spyder, Version 4.0.1, on my windows machine.
I have uninstalled anaconda and done a fresh install of Anaconda, and have updated anaconda and Spyder from the anaconda prompt, both of which have been successful without any errors.
The problem is, when starting Anaconda it shows that Spyder can be updated to the latest version, 4.0.1, and when updating it by clicking on the gear icon, it will run for a minute or so before stopping with no error messages and showing the version as Spyder 3.3.6 with no option to update it.
My current environment is the base environment. Any help would be greatly appreciated

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

Resources