I am in my tensorflow env on my minicoda prompt and I have just installed the latest version of Spyder via the following prompt: conda update spyder. Before I updated spyder I was on v4.1.3. I then searched to see if it was installed correctly with the following prompt: conda search -f spyder which brought up this list:
However, when I run spyder from miniconda: spyder (or even startup the application by clicking on the icon) it still launches my previous version of 4.1.3
What I then tried to do was run the prompt spyder=5.05 but it still launches version 4.1.3.
In my miniconda3\Lib\site-packages directory my spyder folder's file __init__.py has version = 4.1.3 so I understand that that is why it is launching 4.1.3. I do not know why this spyder folder was not updated. You can also see the pkgs folder there is only Spyder v4.1.3
Can someone please help me get the latest version of spyder to run without me having to uninstall and reinstall it, as I have all my preferences set on spyder and apparently there is no way of exporting and then importing them. Thanks
In my environment on my Miniconda prompt I typed in conda install spyder=5.0.5 and this resolved the issue. I now have Spyder 5.0.5! Acknowledgements to MB-F for giving the solution in the comment section.
Try to do it in this order:
conda update anaconda
and then
conda install spyder=5
this will allow you to successfully upgrade to version 5.
If it didn't help, then do this:
conda install conda-forge::spyder[version='>=5.0.0]
You can put another version
Related
The Anaconda Navigator that I am using is version 1.9.12. Whenever I open the Navigator(run as Administrator), a pop-up comes that asks for upgrade with the following message:
There's a new version of Anaconda Navigator available. We strongly recommend you to upgrade.
If you click yes, Anaconda Navigator will close and then the Anaconda Updater will start.
Do you wish to update to Anaconda Navigator 1.10.0 now?
(You will be prompted to elevate privileges)
No Yes
Once I click the 'Yes' button, the pop-up goes off and nothing will happen(Navigator UI stays there). I tried alternative ways that are mentioned in StackOverflow. I tried the following commands in Anaconda Prompt:
conda update anaconda-navigator
I ran the Anaconda Prompt as administrator. Once the command is run, the process gets stuck at 'resolving the environments'. It may be noted that Python 3.8 is the version that I am running. The Python programs and all its modules are all running fine. Just that I want to upgrade the Navigator.
I found this answer from the another StackOverflow post, but for MacOS. Apparently there's a bug in the Anaconda Updater tool that is fixed in the 1.10 update, but as a catch 22, you can't use the updater to update the software to fix the bug that prevents you from updating the software (as described in the release notes).
So what I did was go to the Windows menu and open the Anaconda Powershell Prompt(Anaconda3) and at the prompt enter:
conda deactivate
then after that is done enter the following:
conda update anaconda-navigator
then just like a pip install it shows you what needs to be updated, you indicate at the prompt, yes (enter y) and it installs.
good luck!
Just encountered the same problem. Windows 10 64bit Version 10.0.19043 Build 19043, Anaconda Navigator 1.9.12
Try
conda install anaconda-navigator=2.0.1
Worked for me.
After that updated to Anaconda Navigator 2.2.0 (last version) via start GUI menu.
After trying different suggested solutions on StackOverflow, this is what eventually worked for me (I am running a Windows 10 Home 21H1 on a 64-bit machine):
Exit Anaconda Navigator
From Windows Start, launch Anaconda Powershell Prompt (miniconda)
At the command line prompt, enter:
conda install anaconda
At this point, I tried conda update anaconda-navigator, but got the error PackageNotInstalledError: Package is not installed in prefix <\path\to\package>:
At the command line prompt, enter the following:
conda install --prefix <\path\to\package> anaconda-navigator
conda update anaconda-navigator
I cannot install 64-bit Anaconda 3 on Windows 10. It says the install is complete but when I proceed to install VSCode, it fails. It says to check my internet connection and to look in the log file. But my internet connection is fine and there is no log file. I am running the install with Windows Defender turned off.
When I look at the start menu, none of the components except for Anaconda Prompt, are there. I would like to have Spyder and Jupyter, for example, but they are not there.
If I install the 32-bit version, it works fine. But I need the 64-bit version
Similar issue here. For easy VS code installation with 64-bit anaconda version, you can follow this way:
Install ananconda navigator typing this on shell:
conda install -c anaconda anaconda-navigator
Open anaconda navigator:
anaconda-navigator
It opens a GUI anaconda interface. You can install VS Code from here, only click Install:
It stays Installing dependencies for me all the time, but after reboot, appears installed and works properly.
Hope it helps. It would be interesting to know how to obtain this with conda commands avoiding navigator installation.
I simply close the navigator and open Anaconda Navigator as Run as administrator
and my problem solved.
I'v been having a issue were Spyder has been failing to launch from the Anaconda Navigator. I launched my environment with a terminal and ran spyder and I'm getting a ImportError.
I'v uninstalled Anaconda multiple times and still no dice.
Here are all my conda packages listed with conda list > list.txt
and here are all my pip packages listed with pip freeze > requirements.txt
EDIT:
Here is my PYTHONPATH
I ended up fixing this issue my removing Anaconda and every Python installation on my machine as well the Python environment variables.
I fixed it by getting mad thinking how about removing every python and just reinstalling Anaconda. :D
I have recently Installed Anaconda for Python 3.6 but it shows the error "Segmentation fault" whenever I try to run Anaconda-Navigator.
I've tried just writting in the terminal Anaconda-Navigator and also going to my Anaconda3 folder and try to execute it inside bin.
The only solution that works so far is accessing the previously bin folder as root. My problem is that I need to activate TensorFlow before I run anything in my console, but that is imposible as a root user.
I've already try to upgrade both, Anaconda and Navigator and reinstall them but nothing ocurrs
Anyone here has any idea of what is happening?
Had the same problem with my anaconda install. It is probably related to incompatible versions of conda and anaconda navigator.
conda update --all
worked for me.
I had the same issue today, and I solved by running:
conda upgrade anaconda
The output said:
The following packages will be DOWNGRADED due to dependency conflicts:
anaconda-navigator: 1.5.1-py36_0 --> 1.5.0-py36_0
after that, I launched anaconda-navigator (no segfault this time) and a window prompted me to upgrade to 1.5.1. I clicked yes, and now running anaconda-navigator 1.5.1 without segfaults on launch. Don't know what is the reason
I tried to install opencv via conda then I got the same error. Later I followed the
conda update conda
conda update anaconda-navigator
conda update navigator-updater
Then I did
conda update --all
Voila, its working again
I had the same issue when I install OpenCV library using conda.Most probably downgrading something makes this issue happen. Just type :
conda update --all
I had the same problem.I solved it by adding /lib to mt LD_LIBRARY_PATH.
Note: On my system Anaconda installation path is /home/pushyamik/anaconda3.
I've installed anaconda on mavericks osx. When I'm trying to install ipython notebook from launcher app - it shows message that app is installing, but nothing happens after. Also links in launcher don't work and I can easily start ipython notebook from terminal. So I guess something wrong with launcher itself.
How can I fix it?
conda install -f launcher
conda install -f node-webkit
The Launcher application requires both of these on OSX.
It is also a good idea to make sure you Anaconda environment is up to date first with:
conda update conda
conda update anaconda
As of conda 4.1.0 it is recommended to use navigator , For me the launcher stopped working . To install conda navigator
conda install anaconda-navigator
Use Anaconda full suite , that include installing all the tools and necessary packages ,it works fine for me , I didn't use the Launcher !
Had the same issue on MacOSX Yosemite. Was able to run the launcher by typing 'launcher' in the terminal. And then by changing the bash profile IPython Notebook started working
https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python