update raspi notes

main
Dominic Reich 11 months ago
parent 0be17f71da
commit 11e5b3635d
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -81,6 +81,31 @@ $ sudo apt full-upgrade
$ sudo reboot
~~~
### Python 3
#### Installing non-packaged modules
I could not find `aprslib` as a package, so I had to install this myself.
Debian did not allow the installation as it did before, so I had to create
a virtual environment. And it went like this:
~~~console
$ python -m venv ~/.env
$ source ~/.env/bin/activate
$ pip install aprslib
$ deactivate
~~~
I now have a similar line in my crontab:
~~~crontab
3 * * * * /home/dominic/.env/bin/python /home/dominic/bin/aprs_sendstatus.py
~~~
We could also create virtual environments per application, module, package etc.
<https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi>
## Raspberry Pi 3
## Raspberry Pi 2

Loading…
Cancel
Save