Skip to content

Document how to persist Pip3 installed packages

So I can't figure out how to persist pip3 packages. Or even if I'm installing correctly for that matter?

I installed pip3 in persistance and then pip3 installed package but then got this error.

Screenshot_from_2022-12-16_04-48-22.cleaned The package created what created two directories:

Created two direcories /home/amnesia/.local/lib/python3.9 and /home/amnesia/.local/bin.

but when trying the python executable name says not found but the bin does exist in the /home/amnesia/.local/bin folder. Furthermore cd'ing into the folder and typing ./packagename works but executing it without ./ does not.

What would one need to do to get it to work correctly? install to different dir with pip3.

To persist the pip3 packages correctly and in your persistence.conf what would you need to do?

echo -e '/home/amnesia/.local/lib/python3.9 source=python3.9' | sudo tee -a /live/persistence/TailsData_unlocked/persistence.conf > /dev/null

echo -e '/home/amnesia/.local/bin source=local/bin' | sudo tee -a /live/persistence/TailsData_unlocked/persistence.conf > /dev/null

not sure what the source= would be? source=local/bin or source=local/bin,link ?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information