I had a virtual environment called venv on a raspberry pi. I copied it to my pc via scp -r rpi@rpiip:~/venv ., then deleted it from the pi with sudo rm -r venv
Then I copied the venv folder back to the pi via scp. The folder is exactly the same size as on my PC, so it's definitely the same venv folder, however now my scripts don't work. None of the libraries are able to be found!
Is it possible to restore the old venv to working condition? Why aren't any of my libraries found after restoring the virtual environment?
EDIT:
Is this behaviour uncharacteristic of virtualenv? Or is it normal for a virtualenv not to be completely self contained like this?
EDIT2:
After activating, the pip command returns
from pip._internal import main
ImportError: No module named 'pip._internal'