[Python] ModuleNotFoundError: No module named '_crypt'

Discussão em 'Python' iniciado por Stack, Fevereiro 11, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to use Flask and started with first example, while running the below code

    from crypt import methods
    from flask import Flask

    app = Flask(__name__)

    @app.route('/', methods=['GET'])
    def hello_world():
    return "Hello world"


    if __name__=='__main__':
    app.run(port=3000, debug=True)


    I got the following error

    ModuleNotFoundError: No module named '_crypt'

    During handling of the above exception, another exception occurred


    The error

    Continue reading...

Compartilhe esta Página