当我尝试安装 Flask-Ask 时,出现以下错误。我如何解决它?
$ pip install flask-ask
Collecting flask-ask
Using cached Flask-Ask-0.9.8.tar.gz (40 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\loz99\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\loz99\\AppData\\Local\\Temp\\pip-install-kw14h5ho\\flask-ask\\setup.py'"'"'; __file__='"'"'C:\\Users\\loz99\\AppData\\Local\\Temp\\pip-install-kw14h5ho\\flask-ask\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\loz99\AppData\Local\Temp\pip-install-kw14h5ho\flask-ask\pip-egg-info'
cwd: C:\Users\loz99\AppData\Local\Temp\pip-install-kw14h5ho\flask-ask\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\loz99\AppData\Local\Temp\pip-install-kw14h5ho\flask-ask\setup.py", line 8, in <module>
from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.