Linux (Ubuntu) Setup (Python)

<< Click to Display Table of Contents >>

Navigation:  Getting started with CVB tutorials > Setting up your system > Python and Qt >

Linux (Ubuntu) Setup (Python)

1Install latest python3 with sudo apt install python3-pip.
 
python_Linux1

 

2Go to /opt/cvb/python and install the python wheel with python3 -m pip install <WHL NAME>.whl.
 
python_Linux4
 

3Install following additional 3rd party dependencies, if required:
- python3 -m pip install pyside2 for all tutorials with Qt and python.
python3 -m pip install numpy for all tutorials with NumPy.
 
python_Linux2
 
python_Linux3
 

4It is recommended to use Visual Studio Code for developing with python. After installing Visual Studio Code also install the Python extension as described here: https://code.visualstudio.com/docs/python/python-tutorial.
 
VisualStudioCode_Download
Installation process:
 
VisualStudioCode_Install_Linux
 
VisualStudioCode_Install_Linux2
 
VisualStudioCode_Install_Linux3
 

5Install Qt as described in following Linux (Ubuntu) Setup (C++).