fedora 29. use python virtual environment

Fedora comes with python 3.7 installed. TensorFlow etc. doesn’t currently work on 3.7 🙁

Never mind, time to dip into virtual environments, I have been meaning to take a look at it anyway.

sudo pip3 install virtualenv

Make yourself a nice directory, I called my PYTHON_VENV, and create a python virtual environment.
You may need to install Python 3.6 using:

sudo dnf install python36

then use that python executable to install the new python environment:

virtualenv --python=/usr/bin/python3.6 python36

now step into the environment using

source python36/bin/activate

and install all your favourite libraries:

pip install scikit-learn spyder pandas numpy bs4 seaborn matplotlib tensorflow jupyter orange3

to run orange use

orange-canvas