Setting up Python¶
Note
Python 3.6 or higher is required; recommended version for Zivid Python samples is 3.8.
Install Zivid Software.
Install Python for Windows or install Anaconda Python distribution.
Note
It is not required to install Anaconda. It may however make it slightly easier to install many of the required scientific modules. It also helps manage what modules are used in a specific session. This functionality is similar to virtualenv.
Install Zivid Python package:
pip install zivid
Check out Zivid Python Samples and start developing.
Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard. Then, check if Python is already installed on the computer. If so, typing the below will return the version:
python3 --version
If python is not available on your PC, install by typing:
sudo apt install python3-pip
Install Zivid Software (Zivid Core and Toshiba Teli driver are required, Zivid Studio and Zivid Tools are optional for this case).
Check if a compiler is already installed:
g++ --version
If not, install by typing:
sudo apt install g++
Install Zivid Python package:
pip install zivid
Check out Zivid Python Samples and start developing.
Recommend IDE¶
The choice of Python IDE is open and even optional. Our personal choice is Visual Studio Code. For users familiar with MATLAB we recommend Spyder because of its scientific focus (only available for Windows).