Anaconda python ver5.3 hangs at update forever - python

I just installed anaconda ver5.3 which uses python v3.7
I ran the command;
conda update anaconda
The command hangs there forever. There is no error message. No hint what is wrong. Has anyone encountered similar problems? How did you solve it?
I am using Windows 10 and was previously using anaconda ver5.2 which uses python v3.6.

Try running
conda update anaconda --verbose
to get some insight. Adding --verbose multiple times increases logging to INFO, DEBUG and then TRACE level.
https://conda.io/docs/commands/conda-update.html

I think this could solve your problem to update anaconda, and yes it seems like a fairly common issue:
1) install the latest miniconda3 from here
2) make sure you run anaconda prompt as admin
3) update to latest version of conda
conda update conda
4) install anaconda
conda install anaconda
5) install navigator
conda install anaconda-navigator
6) verify conda is installed and check package number
conda info
View packages you installed in anaconda docs page here

I encountered exactly the same problem on Windows 10.
This problem has been fixed with the latest anaconda release ver5.3.1. You are using ver5.3. Please use the latest version. It should solve your problem.

Related

Installing Pipetorch in Spyder 5.3 Python 3.8.10

I have tried many times to install Pipetorch in Spyder 5.3 with Python 3.8.10, but it failed.
I have tried as well conda as pip commands, but it does not work. If I use %pip I get this:
Note: you may need to restart the kernel to use updated packages. C:\Users\szewa\AppData\Local\Programs\Spyder\Python\python.exe: No module named pip
If I use conda I get this:
`ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install instead.`
Can someone help me? I can find nothing on internet that works...
You seem to be confused about the differences between pip and conda. Anyhow, your Python installation is messed up now and only a restart will help now.
The easiest way to use Python together with the Spyder IDE is to install Anaconda and learn some conda basics: Getting started with conda.
If you really want to install Spyder with standard Python, follow the recipe from Spyder installation without Anaconda, but it seems to be tricky.

How to update to spyder‑kernels=2.2?

Recently I started using Spyder for my python programming. One of the Code required QT version greater than 5.12 so I installed standalone version of Spyder. To install additional packages I am using Anaconda. Despite of creating virtual environment I am not able to use Spyder as kernel throws error. " The Python environment or installation whose interpreter is located at
/Users/ugowda/opt/anaconda3/bin/python
doesn't have the spyder‑kernels module or the right version of it installed (>= 2.2.1 and < 2.3.0). Without this module is not possible for Spyder to create a console for you.
You can install it by activating your environment (if necessary) and then running in a system terminal:
conda install spyder‑kernels=2.2
or
pip install spyder‑kernels==2.2.*"
Tried several online suggestions,didn't work. Did anyone face similar problem ? Do anyone has solution ?
I used this command after I activated my env:
pip install spyder-kernels==2.2.1

Spyder 5.1.5 kernel hangs and 5.2.1 won't work with conda

I had the same issue with kernel hanging on valid scripts:
spyder kernel hangs...
Spyder 5.2 isn't available yet in Anaconda, but I installed it via the link provided in the answer above. When I attempt to get it to use my current conda environment, I get the following error:
Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.2.0 and < 2.3.0). Without this module is not possible for Spyder to create a console for you.
You can install it by running in a system terminal: conda install spyder‑kernels=2.2
I can't update conda from sypder-kernel=2.1.3 to 2.2.0 due to numerous conflicts.
I'm wondering if anyone has any ideas on how I might get Spyder 5.2 working with Anaconda, or do I simply have to wait for it to be released by Anaconda? I'm not that savvy in this type of thing.
I had the same problem with spyder 5.2.1, I opened cmd and typed:
pip install spyder-kernels==2.2.0
Then it downloaded the right kernel and after opening spyder I didn't get any error related to its kernel version.

Unable to install Tensorflow-gpu on Windows 10

A number of problems show up when attempting to install Tensorflow-gpu.
(First Problem): solving environment on anaconda fail (both initial frozen solve and repodata from current repodata).
(Second Problem main one): both CUDA and cuDNN are installed (usually they are a part of the installation of Tensorflow-gpu since v 2.2). This is the main problem, since although the installation using conda seems to success in fact when try to work with the tensorflow and import it later, a group of errors shows up of missing libraries. As seen with the screenshot, no CUDA or cuDNN available in the packagae plan for installation.
Attempt to fix it by reinstalling Anaconda didn't work out, also I reinstall Windows10 without success. Highlighting, it used to work and installed by this method normally before.
please advise ....
open anaconda navigator, at the top right there might be an update button. Update anaconda and then try install from the navigator. or you can try:
conda install -c anaconda tensorflow-gpu

Python crashes when trying to start Anaconda navigator

I just installed the Anaconda package (64 bit, python 2.7) on my Windows 10.
Python itself works fine. The programmed code gets executed fine.
However, when I try to run the Anaconda Navigator or try to run conda command in the windows prompt python crashes.
A windows error pops up, telling me "Python has stopped working".
Does anyone have an idea how I can fix this? I tried to reinstall the Anaconda package, but it didn't work.
Generally uninstalling Anaconda might break the newer installations.
Try this, it help me solve similar issues with missing Anaconda Navigator and broken anaconda installations after an uninstallation.
Hope it helps you. :)
EDIT
The version of new packages should be the same with the base Miniconda.
For Python2 do conda install anaconda=5.3.1=py27_0 anaconda-navigator=1.9.6=py27_0.
The important thing to specify the Python 2.7 build.
You can search more information about packages with the conda show <package> command for versions and builds.

Categories

Resources