为了账号安全,请及时绑定邮箱和手机立即绑定

ModuleNotFoundError: No module named '_contextvars'

Traceback (most recent call last):

  File "D:/MNIST_Demo/main.py", line 3, in <module>

    from flask import Flask, jsonify, render_template, request

  File "D:\MNIST_Demo\venv_one\lib\site-packages\flask\__init__.py", line 14, in <module>

    from jinja2 import escape

  File "D:\MNIST_Demo\venv_one\lib\site-packages\jinja2\__init__.py", line 82, in <module>

    _patch_async()

  File "D:\MNIST_Demo\venv_one\lib\site-packages\jinja2\__init__.py", line 78, in _patch_async

    from jinja2.asyncsupport import patch_all

  File "D:\MNIST_Demo\venv_one\lib\site-packages\jinja2\asyncsupport.py", line 13, in <module>

    import asyncio

  File "D:\Python\Anaconda\lib\asyncio\__init__.py", line 8, in <module>

    from .base_events import *

  File "D:\Python\Anaconda\lib\asyncio\base_events.py", line 39, in <module>

    from . import events

  File "D:\Python\Anaconda\lib\asyncio\events.py", line 14, in <module>

    import contextvars

  File "D:\Python\Anaconda\lib\contextvars.py", line 1, in <module>

    from _contextvars import Context, ContextVar, Token, copy_context

ModuleNotFoundError: No module named '_contextvars'

求大佬解答

正在回答

同名 了吧,应该是

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

ModuleNotFoundError: No module named '_contextvars'

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信