Python Anaconda reinstall

I had a working deep learning library on CPU Linux Mint ubuntu verion 18.3 with Anaconda 3.6 but something got hosed when I was tinkering around in Theano.

Everything was working just fine until I wanted to tinker around with a few .py files with KERAS_BACKEND=theano python program.py and in an attempt to fix something not working in Theano, I did this command from the theano website

conda install numpy scipy mkl <nose> <sphinx> <pydot-ng>

Not knowing what I am doing it almost seemed to pooch everything... And install Python 2.7 dependencies. Would anyone be able to give me a tip on how reset my deep learning library in anaconda 3.6 build???

If I do a conda list anaconda$ its a custom build 2.7 which was not intentional! Time to start learning how to do virtual sessions :)

4

2 Answers

  1. Read the docs for uninstalling Anaconda
  2. Do a conda install anaconda-clean
  3. Then a anaconda-clean --yes
  4. Then re-download the Anaconda 5.2 For Linux Installer and run thru the steps.

I had a similar problem and just did:

conda install --revision 0

this gives me a fresh Anaconda installation, with the drawback of needing to install every package again. Hovewer, all environments created remain intact.

More on Anaconda revisions here:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like