为啥pipinstall flask:Downloading/unpacking flask
Downloading/unpacking Jinja2>=2.10.1 (from flask)
Downloading/unpacking itsdangerous>=0.24 (from flask)
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl
Downloading/unpacking Werkzeug>=0.15 (from flask)
Downloading/unpacking click>=5.1 (from flask)
Downloading/unpacking MarkupSafe>=0.23 (from Jinja2>=2.10.1->flask)
Downloading MarkupSafe-1.1.1.tar.gz
Running setup.py (path:c:\users\hp580-~1\appdata\local\temp\pip_build_hp580-3djj\MarkupSafe\setup.py) egg_info for package MarkupSafe
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
Installing collected packages: flask, Jinja2, itsdangerous, Werkzeug, click, MarkupSafe
Compiling c:\users\hp580-~1\appdata\local\temp\pip_build_hp580-3djj\Jinja2\jinja2\asyncfilters.py ...
File "c:\users\hp580-~1\appdata\local\temp\pip_build_hp580-3djj\Jinja2\jinja2\asyncfilters.py", line 8
async def auto_to_seq(value):
^
SyntaxError: invalid syntax
Compiling c:\users\hp580-~1\appdata\local\temp\pip_build_hp580-3djj\Jinja2\jinja2\asyncsupport.py ...
File "c:\users\hp580-~1\appdata\local\temp\pip_build_hp580-3djj\Jinja2\jinja2\asyncsupport.py", line 18
async def concat_async(async_gen):
^
SyntaxError: invalid syntax
Running setup.py install for MarkupSafe
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
building 'markupsafe._speedups' extension
==========================================================================
WARNING: The C extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
Retrying the build without the C extension now.
==========================================================================
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
==========================================================================
WARNING: The C extension could not be compiled, speedups are not enabled.
Plain-Python build succeeded.
==========================================================================
Successfully installed flask Jinja2 itsdangerous Werkzeug click MarkupSafe
Cleaning up...
|