Python Forum

Full Version: Error when installing module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello - I cannot install this module. I've looked for the file that is referenced but I can't find the path or the file.

As always - any help is appreciated!

Thanks!

Error:
c:\Users\Tonya\AppData\Local\Programs\Python\Python36 - 2>pip install pdfminer Collecting pdfminer Downloading https://files.pythonhosted.org/packages/57/4f/e1df0437858188d2d36466a7bb89aa024d252bd0b7e3ba90cbc567c6c0b8/pdfminer-20140328.tar.gz (4.1MB) 100% |████████████████████████████████| 4.1MB 155kB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Tonya\AppData\Local\Temp\pip-build-_hli0mi4\pdfminer\setup.py", line 3, in <module> from pdfminer import __version__ File "C:\Users\Tonya\AppData\Local\Temp\pip-build-_hli0mi4\pdfminer\pdfminer\__init__.py", line 5 print __version__ ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(__version__)? ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\Users\Tonya\AppData\Local\Temp\pip-build-_hli0mi4\pdfminer\ You are using pip version 9.0.3, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
On there GitHub page.
Quote:Install Python 2.6 or newer. (For Python 3 support have a look at pdfminer.six).
So for Python 3 pdfminer.six.
pip install pdfminer.six
Awesome! Thanks for your help!