I downloaded the Spider Terminal plugin from Github via Anaconda Prompt though, I can't find the Terminal when I boot Spyder -_- .
Does someone know Where it is ?
For me it appeared as a tab next to the IPyhton consoles.
You can click View -> Panes -> Terminal to toggle it on and off, that should help you find where it is.
For Spyder 4.0.1, you need to install the terminal explicitly using
conda install spyder-terminal -c spyder-ide
Restart spyder and after installation, you'd see View> Panes > Terminal. The Terminal can be seen adjacent to the IPython console and History tab at the bottom.
Checkout this is repo for more info.
If you have Anaconda Prompt, you can change working directory to the project you are working on. Then you can write all the commands in anaconda prompt. No need for terminal.
Unfortunately, unlike PyCharm, Spyder does not have default terminal.
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.
I have successfully downloaded the latest version of Anaconda. In the start menu, all the apps are showing but only anaconda prompt and Powershell is opening not other like navigator, jupyter, etc. I have restarted the system and also cleared all the env paths. still, it is not opening. Pls, help.
"conda is not recognized as an internal or external command". I have installed anaconda but none of the commands work. Also the navigator IDE and start menu option do not display. How to activate it? Pls help....earlier it was working. However n update it stopped. After that i installed and uninstalled anaconda number of times but the navigator doesn't appear
I install Anaconda vs 2019.10 on my Windows 10 but I couldn't find the shortcuts to it.
I've tried searching for it using CMD but it's returns the message that Anaconda can't be found
And I can't also find jupyter notebook or spider
Reinstall Anaconda and don't change the default settings. Everything will work as expected. C:\Users\user_name\AppData\Anaconda3\condabin will be added to your PATH and you'll only need to conda activate (or run the Anaconda-Prompt shortcut) to start using Python.
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 ;)