Closed thomir closed 9 years ago
I'm having a similar problem on Ubuntu Trusty :(
Same problem on MAC OSx with python 3.4
+1
This should be fixed thanks to @erickpeirson :) Please feel free to comment again if this is still and issue.
I encountered the same issue using python 3.5 on windows 8, the error reads unable to import PDF.
@molotovtommy what version of slate?
The slate version I am using is 0.3. I saw that there is a 0.4 version listed on their pypi page, but using pip install slate --update results in a message that the most current version is already satisfied? I installed pdfminer3k instead of pdfminer since that is the ported version for python 3 if I understand correctly.
Thomas A. Ulrich On Sun, Dec 27, 2015 at 4:43 PM, Erick < notifications@github.com [notifications@github.com] > wrote: @molotovtommy [https://github.com/molotovtommy] what version of slate?
— Reply to this email directly or view it on GitHub [https://github.com/timClicks/slate/issues/18#issuecomment-167447989] .[https://github.com/notifications/beacon/AL77NXc4_ZrgVsEFyk4upVhT949-j5Rtks5pUG8sgaJpZM4EeGT4.gif]
This is still an issue with python 3.5.
pdfminer3k isn't compatible with this.
https://github.com/hsoft/pdfminer3k/tree/master/pdfminer
The "pdfminer" that is required does not work because it is currently incompatible with python 3.5.
It says so on their readme:
https://github.com/euske/pdfminer
"Install Python 2.6 or newer. (Python 3 is not supported.)"
Yep, doesn't work for me either. OSX 10.11, Python 3.5. "ImportError: cannot import name 'PDF'"
OSX 10.12, Python 3.5
from slate import PDF "ImportError: cannot import name 'PDF'"
As it says on the tin - slate seems unimportable on Ubuntu Utopic, python 3.4.2 and what's currently released on pypi.
See full command output below: