- Name
- phidget_hello_world_python
- Version
- 1.0.0
- License
- BSD
- URL
- https://github.com/janelia-python/phidget_hello_world_python
- Author
- Peter Polidoro
- [email protected]
This Python package (phidget_hello_world) creates a class named PhidgetHelloWorld.
phidget-hello-world-python
import phidget_hello_world
phidget_hello_world.main()
https://github.com/janelia-experimental-technology/phidgets_setup
sudo snap install phidget-hello-world-python*.snap --dangerous
sudo snap connect phidget-hello-world-python:hardware-observe core:hardware-observe
sudo snap connect phidget-hello-world-python:raw-usb core:raw-usb
sudo apt-get install -y python3 python3-venv
mkdir ~/venvs
python3 -m venv ~/venvs/phidget
echo 'source ~/venvs/phidget/bin/activate' >> ~/.bashrc
source ~/.bashrc
pip install pip --upgrade
mkdir ~/Downloads
cd ~/Downloads
wget https://www.phidgets.com/downloads/phidget22/libraries/any/Phidget22Python.zip
unzip Phidget22Python.zip
cd Phidget22Python/
pip install .
cd ~/Downloads
wget https://www.phidgets.com/downloads/phidget22/examples/python/Manager/Phidget22_HelloWorld_Python_Ex.zip
unzip Phidget22_HelloWorld_Python_Ex.zip -d Phidget22_HelloWorld_Python
python3 ./Phidget22_HelloWorld_Python/HelloWorld.py