Skip to content

App Engine: ImportError: No module named pwd #2

@FedericoElles

Description

@FedericoElles

Error when running on App Engine Python 1.7

File "/base/data/home/apps/s~-tools-hrd/2.360644688465653543/iron_mq.py", line 22, in init
version=IronMQ.VERSION, product="iron_mq", **kwargs)
File "/base/data/home/apps/s~-tools-hrd/2.360644688465653543/iron_core.py", line 63, in init
os.path.expanduser("~/.iron.json"), product)
File "/base/python27_runtime/python27_dist/lib/python2.7/posixpath.py", line 259, in expanduser
import pwd
ImportError: No module named pwd

pwd module is not available on App Engine VM.

It works just fine on the local App Engine dev env. I guess it is a App Engine problem, but maybe you can solve this so other developers do not have to bother.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions