PDFMiner install question

Jason Mellone jason.mellone at gmail.com
Tue Dec 17 21:53:24 CET 2013


On Tuesday, December 17, 2013 3:32:56 PM UTC-5, MRAB wrote:
> On 17/12/2013 20:06, Jason Mellone wrote:
> 
> > Hello,
> 
> >
> 
> > I have python up and running using the exact setup as recommended by http://learnpythonthehardway.org/
> 
> >
> 
> > I am now trying to use pdfminer.
> 
> >
> 
> > I have python here:
> 
> > C:\USERS\Python27
> 
> >
> 
> > using "import os", i am able to cwd to C:\users\python where i have C:\users\python\pdfminer-master\.
> 
> >
> 
> > when i navigate to the child directory and run "setup.py install" i get the following issue:
> 
> >
> 
> >>>> setup.py install
> 
> >    File "<stdin>", line 1
> 
> >      setup.py install
> 
> >                     ^
> 
> >
> 
> > i have no idea why, any input?
> 
> >
> 
> > thanks!
> 
> >
> 
> Do you really have the ">>>" prompt? If yes, then you're asking Python
> 
> to run a console (OS) command.
> 
> 
> 
> You should be running "setup.py install" in a console ("Command
> 
> Prompt") window, something like:
> 
> 
> 
> cd C:\users\python\pdfminer-master
> 
> C:\USERS\Python27\python.exe \setup.py install

ok makes sense.

i am running now from command line and get the following:

P:\>C:\USERS\Python27\python.exe C:\users\Python27\pdfminer-master\setup.py inst
all
running install
running build
running build_py
error: package directory 'pdfminer' does not exist

P:\>






More information about the Python-list mailing list