[Addendum 10/15/2017]

Unfortunately, after a laborious 8 hour session with an online mentor, we decided to revert back to anaconda as the defacto virtual environment for the Python TDD Todo App. It end up being a necessary ‘bloat’. Aaaargh!

[/Addendum] [Addendum 10/07/2017]

Apologies on the formatting. In lieu of minimalism and removal of bloat, I decided to leave text as is. I am not in the mood to add extra plugins to make it pretty. The content is here and that’s what matters.

[/Addendum]

With my 2nd attempt at Python w/TDD [via obeythetestinggoat.com] I decided to give Anaconda a timeout. I have to remove that extra bloat from my future Todo App. Until I have more programming experience, do I need the extra layer this time? It is just another layer added to my Linux OS [thus the penguin reference].  What is anaconda?

From Wikipedia:

“Anaconda is a freemium open source distribution of the Python and R programming languages for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment.” 

So in other words it is directed towards the data science space. I am doing web development. I am not ready for the data science world as of yet. So it’s best I let it go. For the sake of laziness, I included the following text from the anaconda site:

Uninstalling Anaconda

To uninstall Anaconda, you can do a simple remove of the program. This will leave a few files behind, which for most users is just fine. See Option A.

If you also want to remove all traces of the configuration files and directories from Anaconda and its programs, you can download and use the Anaconda-Clean program first, then do a simple remove. See Option B.

  1. Option A. Use simple remove to uninstall Anaconda:
    • Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
    • macOS–Open the Terminal.app or iTerm2 terminal application, and then remove your entire Anaconda directory, which has a name such as anaconda2 or anaconda3, by entering rm -rf ~/anaconda3.
    • Linux–Open a terminal window, and then remove your entire Anaconda directory, which has a name such as anaconda2 or anaconda3, by entering rm -rf ~/anaconda3.
  2. Option B. Full uninstall using Anaconda-Clean and simple remove.NOTE: Anaconda-Clean must be run before simple remove.
    • Install the Anaconda-Clean package from Anaconda Prompt or a terminal window:
conda install anaconda-clean

    • In the same window, run one of these commands:
      • Remove all Anaconda-related files and directories with a confirmation prompt before deleting each one:
anaconda-clean

      • Or, remove all Anaconda-related files and directories without being prompted to delete each one:
anaconda-clean --yes

    • Anaconda-Clean creates a backup of all files and directories that might be removed, such as .bash_profile, in a folder named .anaconda_backup in your home directory. Also note that Anaconda-Clean leaves your data files in the AnacondaProjects directory untouched.
    • After using Anaconda-Clean, follow the instructions above in Option A to uninstall Anaconda.

Removing Anaconda path from .bash_profile

If you use Linux or macOS, you may also wish to check the .bash_profile file in your home directory for a line such as
export PATH="/Users/jsmith/anaconda3/bin:$PATH"

NOTE: Replace /Users/jsmith/anaconda3/ with your actual path.

This line adds the Anaconda path to the PATH environment variable. It may refer to either Anaconda or Miniconda. After uninstalling Anaconda, you may delete this line and save the file.

Anacondas and Penguins : 2 species not cooperating [will have to cooperate: peace treaty established on 10/15/2017]

Category: NotesProgrammierung
222 views