Closed Notrial closed 3 months ago
Hi, did you originally install picframe with a virtual environment. There have been various versions of setting up picframe on the RPi5 and (some?) use venv
. If you originally used venv then you will need to activate it before using pip. something like
source /home/pi/venv_picframe/bin/activate
that is it! Thank you so much.
@paddywwoof btw. should I backup anything before I run the upgrade command? Will it overwrite the config files?
Cheers!
Well I would never suggest not backing up... however pip should only write over the installed files and I think that has a file .../config/confguration_example.yaml
that you would have copied to configuration.yaml
, which should remain unscathed. Just to be on the safe side I would probably copy that latter file to your mac at the very least!
I finally got around to do this, but it seems I spoke too soon... Although picframe -v works after source /home/pi/venv_picframe/bin/activate, unfortunately sudo pip3 install picframe --upgrade gives me the same error as before (This environment is externally managed...).
Do I have to type out this upgrade command in a different way?
UPDATE: managed to update via different command...don't recall exactly which one at the moment, but after the update I get white cursor and black screen unfortunately, so I ended up reverting to old version 9.5.0.
I might have to reinstall from scratch...obviously something changed during the update that messed up picframe.
Does anyone know the proper procedure to update from few versions back to the latest one through SSH on Pi5? Will I have to reconfigure everything or does it maintain config files?
I am on MacOS terminal and typing sudo pip3 install picframe --upgrade just gives me this.
Also the commans like picframe -v do nothing: