Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

https://machinelearningmastery.com/setup-python-environment-machine-learning-deep-learning-anaconda/

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

http://deeplearning.net/software/theano_versions/dev/requirements.html

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 :)

like image 722
bbartling Avatar asked Jul 31 '18 19:07

bbartling


People also ask

How do I install Python on Anaconda?

Getting Anaconda Or download the latest version of Anaconda and run the following command to install Python 3.5 (or 3.6) in the root environment: conda install python=3.5 or conda install python=3.6 . Or download the most recent Anaconda installer that included Python 3.5 (Anaconda 4.2. 0) or Python 3.6 (Anaconda 5.2.

Can I install Anaconda using PIP?

pip is the standard package manager for python, meaning you can use it both inside and outside of Anaconda.

Does Python automatically install with Anaconda?

In this mini-tutorial, you will learn how to install Python (a computer programming language) and Anaconda (a distribution that automatically installs Python and a bunch of auxillary packages useful for data science).


1 Answers

  1. Read the docs for uninstalling Anaconda https://docs.anaconda.com/anaconda/install/uninstall
  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. https://www.anaconda.com/download/#linux
like image 167
bbartling Avatar answered Oct 10 '22 18:10

bbartling