Skip to content

Google App Engine ImportError: No module named msvcrt #1901

Closed

Description

@davidstackio

Because Click was added to Flask 0.11 for the New Command Line Interface, and Click imports the Windows only module msvcrt, and the Google App Engine local development server doesn't contain this module, an import error is thrown.

image

I've created a workaround for the gae-init project (by modifying the App Engine config file), but it would be best to have a fix come directly from Flask/Click since there are likely many more people who will experience this issue when using Flask 0.11 with Google App Engine.

Activity

  1. davidstackio commented on Jun 9, 2016

    @davidstackio
    Author

    Click Issue:
    pallets/click#594

  2. mitsuhiko commented on Jun 9, 2016

    @mitsuhiko
    Contributor

    Closing this because this is a click thing.

  3. pvlele commented on Nov 7, 2017

    @pvlele

    I am also facing same issue.. How did you resolved this?

  4. locked as resolved and limited conversation to collaborators on Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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