We are getting on one of our application this 500 error 'no module pwd' when importing requests library.
here are the logs:
Traceback (most recent call last):
File "/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/handler/domain.py", line 12, in <module>
from lib.helper import TemplateHelper, RequestHandler
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/helper.py", line 13, in <module>
from lib.security import Security
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/security.py", line 5, in <module>
from lib.wisestamp_email_settings_client import WiseStampEmailSettingsClient
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/wisestamp_email_settings_client.py", line 6, in <module>
import requests
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/requests/__init__.py", line 58, in <module>
from . import utils
File "/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/requests/utils.py", line 19, in <module>
from netrc import netrc, NetrcParseError
File "/base/data/home/runtimes/python27_experiment/python27_dist/lib/python2.7/netrc.py", line 7, in <module>
import pwd
ImportError: No module named pwd
in other project ive noticed it is not happening and there is no python27_experiment dir path in the logs, are we on some kind of experiment instances?