【发布时间】:2018-11-13 05:03:47
【问题描述】:
# Python Version
λ python
Python 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
λ pip3 install web.py
Collecting web.py
Using cached https://files.pythonhosted.org/packages/fc/58/21649fc1849b1f688f3d42e25e79615cc573469ea57eaa9e6af70b1e3b87/web.py-0.39.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\KARANJ~2\AppData\Local\Temp\pip-install-isj4gcc5\web.py\setup.py", line 6, in <module>
from web import __version__
File "C:\Users\KARANJ~2\AppData\Local\Temp\pip-install-isj4gcc5\web.py\web\__init__.py", line 14, in <module>
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
File "C:\Users\Karanjit Singh\AppData\Roaming\Python\Python37\site-packages\db\__init__.py", line 69
print "var", var
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("var", var)?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\KARANJ~2\AppData\Local\Temp\pip-install-isj4gcc5\web.py\
【问题讨论】:
-
操作系统是Windows 10