Installing catalyst with Python 3.6 on Ubuntu


I’d just like to record here how I finally managed to install catalyst with Python 3.6 on a Ubuntu machine. I did too many things to remember the exact steps, but here are the essential ones:

  1. Install miniconda
  2. Try to install the environment as in the tutorial with the yml file, it fails.
  3. Create the environment manually as in the troubleshooting part of the tutorial.
  4. Run pip install enigma-catalyst matplotlib, it fails with a cannot build wheel error.
  5. Install manually all the packages you can through conda: scipy, numpy, pandas, statsmodels, etc…
  6. Install gcc with sudo apt-get install gcc.
  7. Install build-essential apt-get -y install build-essential
  8. Then pip install enigma-catalyst matplotlib went through.