It happened to me today. The error was consistent, i.e. Rebooting did not help.
In my case, the problem seemed to be related to virtualenv. The essence of what I did is:
#In myproject/src/main which is the GAE project folder virtualenv venv source venv/bin/activate pip install lxml cd ../.. dev_appserver src/main
Note that the GAE root was in src / main, but I worked from the "grandparent" directory, which is my root git repository.
If you instead install the same virtualenv in the grandparent directory, the problem goes away. I.e.
#In myproject/ which is my git repository root virtualenv venv source venv/bin/activate pip install lxml dev_appserver src/main
I do not know why this matters.
source share