auto start python env

This commit is contained in:
2026-09-24 23:05:01 +00:00
parent 7cc99fb75e
commit 58206eb384
+8
View File
@@ -70,3 +70,11 @@ In linux, you can use sshfs: https://github.com/libfuse/sshfs
```mkdir username-rover``` ```mkdir username-rover```
1. Now we mount the pi's filesystem using sshfs 1. Now we mount the pi's filesystem using sshfs
```sshfs username@host-or-ip /home/username ~/username-rover``` ```sshfs username@host-or-ip /home/username ~/username-rover```
## How do I get the python virtual environment to start each time
1. Edit your `.bashrc` to have this at the end:
```
if [ -f ~/env/bin/activate ]; then
source ~/env/bin/activate
fi
```