Google App Engine Flask Sample ERROR: "no module named six"

1k Views Asked by At

after installing the gcloud SDK and cloning the samples git rep to my local machine, I opened the Flask / hello_world sample and did pip install -t lib -r requirements.txt. I am using virtualenv.

Then I got the following error:

File "/Users/assafshamia/Freebird/Techradar/dev/samples/env/lib/python2.7/site-packages/setuptools/py27compat.py", line 7, in <module>
        import six
    ImportError: No module named six

I then did pip install -t lib six, which did install six under /lib, but I still get the above error.

any ideas?

1

There are 1 best solutions below

0
On

This is apparently a known bug https://github.com/pypa/setuptools/issues/1042.

adding "six" to requirements.txt did the trick.