This is my scenario:
I need to configure it with the following libraries:
matplotlib == 3.1.2
numpy == 1.18.0
scipy == 1.1.0
scikit-learn 0.21.3
opencv == 4.1.0
(I also need opencv-contrib).
So far I’ve done the following:
Install pip:
sudo apt install python3-pip
Use virtual environments:
sudo apt install -y python3-venv
python3 -m venv ~ / python-environments / OpenCV
source ~ / python-environments / OpenCV / bin / activate
Install wheel:
pip3 install wheel
Setting up Jupyter Notebook:
pip3 install jupyter
Install all dependencies.
When I open Jupyter Notebook I can run all dependencies mentioned above, now I would like to install opencv and opencv-contrib within this environment of mine and that when opening Jupyter Notebook I managed to run it too.