conda install -c conda-forge opencv
conda install python-graphviz
conda install -c creditx sklearn_pandas # Install Python-3.6 and its development bundle on Ubuntu-16.04
sudo add-apt-repository ppa:jonathonf/python-3.6sudo apt-get updatesudo apt-get install python3.6sudo apt-get install python3.6-dev# Install Python-3.7 on Ubuntu-16.04 (can be trigger by apt install python3.7-venv)
sudo apt-get install python3.7# Make python3 use python3.6 as default.
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2sudo update-alternatives --config python3# Create virtual environments for a specific python3 version. (python3.6 as an example)
pip install virtualenvsudo apt install python3.6-venvvirtualenv --python=python3.6 py36# Requirement for fastai
bottleneckdataclasses ; python_version<'3.7'fastprogress>=0.1.19beautifulsoup4matplotlibnumexprnumpy>=1.15nvidia-ml-py3pandaspackagingPillowpyyamlpynvx>=1.0.0 ; platform_system=="Darwin"requestsscipytorch>=1.0.0typingspacytorchvision# Resolving dependency on python3-tk
sudo apt-get install python3.6-tk