0 packages available to be installed in Anaconda Navigator base environment - python

I am trying to install packages in my base(root) environment using the anaconda navigator. However, there is no any packages available to be installed. I can install using the anaconda cmd but the GUI navivgator could be much easier. Can you please help me with solving the issue.

This is a known issue and they're working on it:
https://community.anaconda.cloud/t/anaconda-navigator-not-installed-packages-bug/50292/3
Near term solution is to roll back to conda 22.9.

Related

conda install spyder=5.3.3 stuck on solving env

I couldn't find much help on the internet, which is why I'm asking this here.
Spyder has an issue where input() will cause an issue to the app. I've heard that spyder 5.3.3 has this issue fixed.
I have done:
conda update conda
conda update anaconda
However, when I try conda install spyder=5.3.3, it says failed with initial frozen solve. Retrying with flexible solve.
It then never solves the environment. Any help?
I tried all the solution posted but they does not work for my problem. I finally solved it by first uninstalling the existing spyder version and installing a new one. To do this, use this:
conda uninstall spyder
conda install spyder = 5.3.3
I don't have a great solution, ran into the same issue myself, I was able to install version 5.2.2 where 5.1.5 is the base version. This version does also fix the input() problem you were having.
Alternatively you might try either of these two options to install spyder into it's own environment which should negate the problems but will require you to be in that environment to run spyder.
conda create -n spyder-env spyder
or
conda create -n spyder-env spyder numpy scipy pandas matplotlib sympy cython
Close spyder. Run command: pip install --upgrade spyder
worked for me.
Me as well. At least you could get it updated to 5.2.2 using the recommended update command from anaconda's page for spyder:
conda install -c anaconda spyder
Or use Vaxion's solution by creating an environment.
I had the same problem, I tried on many ways. But this last worked for me:
conda install -c anaconda spyder
Maybe you can try it too.
I took it from anaconda / packages / spyder 5.3.3
Probably your Environment is broken somehow. I suggest you to create a new environment specifying conda-forge as a channel already at creation time:
conda create -n spyder-env -c conda-forge python=3.10 spyder=5.3.3
The newest versions of Spyder are usually available on this channel. Then you can install your other packages and libraries there as well.
Like others, the upgrade was advancing very slowly. It was not urgent, so I just left it, and it took about a week (!) and ended by barfing out 7000+ lines of package conflicts.
But then I followed the advice from Qiyuan Chen and it worked in just a few minutes:
conda uninstall spyder
conda install spyder=5.3.3
Qiyuan Chen's answer also worked for me. After I uninstalled and reinstalled it, I went back to Anaconda Navigator and the Spyder icon was there with an install button underneath it. I hit 'INSTALL' and it worked.
As per others and Peters answer above
But then I followed the advice from Qiyuan Chen and it worked in just a few minutes:
Needed to turn the Anaconda Navigator off and on againbut I've now got Spyder 5.3.3 up and going with no distracting messages

Can I create a Virtualenv that Anaconda has nothing to do with while having Anaconda installed on my PC

After installing Anaconda. I created several new virtual environments and all of them had packages preinstalled that come with Anaconda. Is this normal and how can I prevent this?
Installing Anaconda causes an error while importing sklearn that is removed as soon as Anaconda is uninstalled. I want to take advantage of Anaconda(use spyder) but also create a virtual env which only installs packages by pip and does not look for those packages through anaconda when I import them(to solve the sklearn problem). In other words I want a virtual env that has nothing to do with Anaconda while having Anaconda installed on my System(windows). Is this possible?

After updating Anaconda-Navigator environments dont work

I updated Anaconda-Navigator to 1.9.12 on ubuntu and now my environments dont work.
I can still start a jupyter notebook from the environment but all my installed packages are not available even though they are displayed in the anaconda-navigator gui under installed packages for this env.
but when I import a package in a notebook : ModuleNotFoundError: No module named ....
The standard packages like numpy are available though...
Please help me... why did I update!!!!????
maybe a path problem? Please help me in simple terms
Thanks
I think this is a bug. My experiance is that when you upgrade to Navigator to 1.9.12.
the enviroment variables in GUI(Navigator UI), are taken from base enviroment not from second enviroment and if you work from console it work, so it looks like it not executes conda activate new_environment in gui. When you work from terminal everythings works fine.
To be honest it has the same behaviour if fresh install last anaconda too. This was the reason i have downgraded conda isntallation, and than i found out that last version of navigator was making the issues . Or you can downgrade:
conda install anaconda-navigator=1.9.7.

K-modes python installation using Anaconda

I am trying to install K-modes package in Anaconda.
I cannot find it in Anaconda anywhere.
How do I download and get it to work through an Anaconda distribution?
I am on Mac and have just managed to install kmodes using pip and open in jupyter notebooks in Anaconda. If you are on Windows this might work differently, but you can try it.
First of all I opened the general terminal and I entered
conda info --envs
This shows you what virtual envs have been created in anaconda. It should show you one that says base/ at the start. Simply write source activate and then copy and past the base pathway, and press enter. This will open your anaconda environment.
Then you can do pip install kmodes and enter, and this will install kmodes into your anaconda environment.
I hope this works for you!

Why manually install a pre-built python package in Anaconda virtualenv?

The Anaconda website mentions that the installer has 100 of pre-built packages. Even the installer size of 500mb hints that there should be some pre-built packages.
Yet when we want to use any of the packages we have to install them through the command eg. conda install nltk
Which basically downloads the package from internet and then installs it. Which seems counterintuitive since it is already mentioned on website that nltk is present in the installer.
Can anybody throw some light on this?
There are two parts:
Conda - Package & environment management system. This gives you the
conda command and serves a similar function as pip and
virtualenv.
Anaconda - Python package distribution containing 100's of scientific
packages that are tests and verified to work together.
If you install Miniconda, you will just get conda without the full Anaconda distribution. If you install Anaconda, you will get both the conda management system and the Python distribution. You can also get Anaconda after only having installed conda by running conda install Anaconda.

Categories