There is a prefix of "100" in front of all my python packages in anaconda navigator. I believe this is making it difficult for applications to use these libraries. For example, I cannot open Spyder.
Packages will be listed as "100 numpy" rather than simply "numpy"
I was in the middle of creating a virtual environment seperate from the root folder but I was doing a few install / uninstall of different packages using both Navigator and Anaconda Prompt. Suddenly just about everything with my python installation started having problems. After closing Spyder I have not been able to reopen it. I tried spyder --reset which did not work. I've tried several complete reinstalls of Anaconda and each time my root installation (as well as any other venvs I create) have a prefix of 100 in front of the package name.
I would expect the packages to read "numpy" rather than "100 numpy" etc.
We can try going into the 'pkgs' directory and manually clean them up. Or, we can go the easy way, by using the 'conda clean' command. This will clean the index cache, lock files, tarballs, unused cache packages, and the source cache. Based on your usage, this would clean up from a couple of GBs to maybe 10+GB.
The recommended way to install multiple packages is to create a . yml file and feed conda this. You can specify the version number for each package as well. To specify different channel for each package in this environment.
I have also experienced this issue. For me, this occurred after running conda update --all
in the anaconda terminal. I was able to fix this by rolling back my conda version to the version prior to my update that broke it.
To do this, go to anaconda prompt and type in conda list --revisions
to find the revision number prior to whichever update broke anaconda. They you just type in conda install --revision #
, replacing "#" with the revision number.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With