Basler Pylon Installation - gkgkgk1215/else GitHub Wiki

cd ~/Downloads
sudo apt-get install ./pylon_*.deb ./codemeter*.deb
sudo bash /opt/pylon/share/pylon/setup-usb.sh   # udev-rules to set up permissions for Basler USB cameras

During the installation, an environment variable required for pylon GenTL producers and a permission file for Basler USB cameras are installed automatically. For this to take effect, you need to log out and log in again to your Linux system as well as unplug and replug all USB cameras.

Run pylon Viewer

conda activate minho
sudo apt install python-dev
pip install swig
pip install pypylon
# git clone https://github.com/basler/pypylon.git
# cd pypylon
# pip install .
# git clone https://github.com/basler/pypylon-samples.git # for sample Python code