Adafruit 2.8" PiTFT Install Help Request - Virtual Environment Issue

Hi there, i’m setting up Volumio OS Raspi and I’ve run into an issue with running the installer script for my Adafruit display.

I’m able able to install Volumio successfully, SSH into the Pi, update, and start the installation described here. It fails to enter the virtual environment and gives the following error message.

volumio@volumio:~$ source env/bin/activate
-bash: env/bin/activate: No such file or directory

I’ve been successful in installing the drivers for the display on any stock Rasbian distro. Has anyone encountered this or might have some advice on a way forward?

Thanks!

Hi,
Your python env seems to be not installed in this location. But is python venv installed on your system? Not by default on volumio.

Thanks for the response @balbuze The script I ran is as follow and installs venv prior to running the lcd driver.

sudo apt install python3-venv
python -m venv env --system-site-packages

source env/bin/activate

Have you, or anyone else, been successful in creating a virtual environment in Volumio OS? If so, I’d love to see the code you used.

Thanks!

I’ll add for anyone experiencing the same issue, removing the “–system-site-packages” allowed me to enter the virtual environment.