Unable to import _winreg in Python 2.7.9 virtual environment

前端 未结 4 1426
执念已碎
执念已碎 2020-12-11 11:40

I\'m running an app engine application in a virtual environment on windows 7 64bit, python 2.7.9 x64.

Here\'s the stacktrace:

    p_system = platform         


        
4条回答
  •  难免孤独
    2020-12-11 12:10

    I had this problem a few days ago.

    As said above, the GAE sandbox on Windows blocks some routines or libraries, even built-in one, because it is developed to Unix-like platform.

    I opened an issue to Google Team and they passed a workaround:

    https://issuetracker.google.com/issues/38290292

    That workaround worked well.

提交回复
热议问题