“ImportError: No module named pwd” but it exists

前端 未结 2 695
轻奢々
轻奢々 2021-01-02 11:03

I\'m trying to test gae-boilerplate locally, but when I try to create a new account the following error appears.

The strange thing is that if I open python interpret

2条回答
  •  时光取名叫无心
    2021-01-02 11:45

    You probably installed pycrypto with easy_install. If you reinstalling it with pip instead, everything should work:

    pip uninstall pycrypto
    pip install pycrypto
    

    Note, pip uninstall works even though it was installed with easy_install. You also might need to use sudo.

    If you don't have pip, install it like this:

    sudo easy_install pip
    

提交回复
热议问题