title: cannot import name '_endpoint_from_view_func' from 'flask.helpers' in python
body: <p>I ran the same code on Ubuntu with no problem, but ran it on Windows10 with problems. I also installed Flask.
  My windows environment is configured as follows:</p>
  <pre><code>$ pip --version
  pip 21.1.1 from c:\users\min\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)
  
  $ pip show flask
  Name: Flask
  Version: 2.0.0
  Summary: A simple framework for building complex web applications.
  Home-page: https://palletsprojects.com/p/flask
  Author: Armin Ronacher
  Author-email: armin.ronacher@active-4.com
  License: BSD-3-Clause
  Location: c:\users\min\appdata\local\programs\python\python37\lib\site-packages
  Requires: Werkzeug, itsdangerous, Jinja2, click
  Required-by: Flask-RESTful, Flask-API
  
  $ pip show flask-restful
  Name: Flask-RESTful
  Version: 0.3.8
  Summary: Simple framework for creating REST APIs
  Home-page: https://www.github.com/flask-restful/flask-restful/
  Author: Twilio API Team
  Author-email: help@twilio.com
  License: BSD
  Location: c:\users\min\appdata\local\programs\python\python37\lib\site-packages
  Requires: Flask, aniso8601, six, pytz
  Required-by:
  </code></pre>
  <p>When I run the code, there is wrong in</p>
  <pre><code>from flask_restful import reqparse, Api, Resource
  </code></pre>
  <p>and error is</p>
  <pre><code>Exception has occurred: ImportError
  cannot import name '_endpoint_from_view_func' from 'flask.helpers' (C:\Users\Min\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\helpers.py)
    File &quot;E:\yulin\python_project\image_text_project_-api\chuanxian_api_module_time_native2.py&quot;, line 24, in &lt;module&gt;
      from flask_restful import reqparse, Api, Resource
  </code></pre>
  <p>I don't know why, please help me, thank you very much.</p>