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.
Related
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.
On my MacBook Pro, I used Anaconda Spyder 4.0.1 successfully for 6 weeks. But this week it started producing extraneous plots and printouts, even after removing all variables, Restarting the kernel and restarting Spyder. It was so bad I couldn’t find my real outputs.
This happened despite the fact that my python 3 script finished execution. With no error exceptions
I first tried upgrading Spyder, since it said version 4.1.3 was available and suggested i should try it I did this successfully in terminal with CondA install Spyder 4.1.3. But this did not update the version available from Anaconda navigator.
So I clean unininstalled Anaconda 3 and reinstalled from new download, but got Spyder 4.0.1 again, with the very same results
This loop does not converge, so I am dead in the water.
I could not update Spyder from version 4.0.1 either (although I tried via the Anaconda GUI, not via terminal).
When I tried 'conda update --all' via terminal it worked. I did get a message that anaconda itself needed to be downgraded.
I have installed the Anaconda 3 in my windows 10 and it has not installed the Scripts folder and the Anaconda Prompt or Navigator applications.
I have come here and in other sources for an answer and tried to reinstall, use the cmd as adm to install with the conda commands, but the system does not recognize the conda command. I have seen answers with the Scripts folder, but it was not installed.
I have also seen answers advising me to install miniconda and then update to anaconda, but again, miniconda has the same problem as anaconda: no scripts folder, no recognition of the conda command.
I don't know what to do.
Dear all who may have had the same problem, what worked for me was to install the 32-bit version, I had heard it was more stable.
I did not have to restart Windows after installing this version, It was already there, Anaconda Prompt and Navigator.
I work on a hp Probook with windows 10 and the problem was that the application hp Sure Sense Installer block the installation of anaconda. After uninstalling the hp Sure Sense Installer application and reinstalling anaconda, everything works fine !
I install anaconda conda on windows, but the scripts directory and the anaconda prompt are missing.
For me the solution was to install an older version from https://repo.anaconda.com/archive/
The newest that worked was Anaconda3-2019.03-Windows-x86_64.exe
Before that I tried removing the installation, reinstall it, installing the 32bit at least a couple of times. Nothing worked, except to install the older 2019.03 version.
I downloaded Anaconda 3.6, but when I tried "conda update conda" or tried opening jupyter notebook, it shows Failed to create process. Please help!
I have uninstalled 64-bit software, removed shortcuts, installed 32-bit software and ran below command at the Anaconda prompt.
(base) PS C:\anaconda3\Scripts> conda install -c anaconda anaconda-navigator
Once updates done, navigator client opened with no issues.