Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
install pdfminer
#1
Hi,

I tried to install pdfminer.
I used the following code on cmd: C:\Downloads> python -m pip install pdfminer.

However I got the following error: SyntaxError: Missing parentheses in call to 'print'

I have Python 3.6 and Anaconda3 installed on my computer.

Could it be because I'm running Python 3.6?

Please advise, thank you!
Reply
#2
For Python 3 use pdfminer.six
pip install pdfminer.six
Reply
#3
pdfminer is for version 2, you probably want the fork for versions 2 & 3 pdfminer.six
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pdfminer package: module isn't found Pavel_47 25 9,020 Sep-18-2022, 08:40 PM
Last Post: Larz60+
  pdfminer to csv mfernandes 2 2,833 Jun-16-2021, 10:54 AM
Last Post: mfernandes
  pdfminer vs pdfplumber pprod 2 6,157 Jan-30-2021, 01:35 PM
Last Post: pprod
  pdfminer.six: search for complete documentation Pavel_47 3 2,799 Jan-25-2021, 04:41 PM
Last Post: buran
  pdfminer package: can't find exgtract_text function Pavel_47 7 5,286 Jan-25-2021, 03:31 PM
Last Post: Pavel_47

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020