Ubuntu安装pdfminer出错
问题
Ubuntu下Python3使用PIP安装pdfminer出错,报错如下
wwy@wwy-Ubuntu:~$ pip3 install pdfminer
Collecting pdfminer
Using cached https://files.pythonhosted.org/packages/57/4f/e1df0437858188d2d36466a7bb89aa024d252bd0b7e3ba90cbc567c6c0b8/pdfminer-20140328.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-l102z0gg/pdfminer/setup.py", line 3, in <module>
from pdfminer import __version__
File "/tmp/pip-install-l102z0gg/pdfminer/pdfminer/__init__.py", line 5
print __version__
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-l102z0g