I had python 3.4 in my virtualenv, but after upgrading ubuntu to 16.04 python upgraded to 3.5 so python in virtualenv crashes with these errors:
Could not find p
I experienced the same issue and I managed to "fix" is by recreating the virtualenv and reinstalling the required packages using pip.
Create a new virtualenv:
virtualenv
Activate it:
source /bin/activate
Install the packages:
pip install
And I was good to go again!
You can keep the old virtualenv by just renaming the folder:
mv -backup