PDFMiner install question
Jason Mellone
jason.mellone at gmail.com
Tue Dec 17 15:59:22 EST 2013
On Tuesday, December 17, 2013 3:53:24 PM UTC-5, Jason Mellone wrote:
> 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:\>
also this is my dir:
P:\>dir C:\users\python27\pdfminer-master
Volume in drive C has no label.
Volume Serial Number is B825-02BA
Directory of C:\users\python27\pdfminer-master
17/12/2013 02:55 PM <DIR> .
17/12/2013 02:55 PM <DIR> ..
17/12/2013 02:48 PM <DIR> cmaprsrc
17/12/2013 02:48 PM <DIR> docs
26/11/2013 04:35 AM 1,723 Makefile
26/11/2013 04:35 AM 111 MANIFEST.in
17/12/2013 03:49 PM <DIR> pdfminer
26/11/2013 04:35 AM 5,311 README.md
17/12/2013 02:48 PM <DIR> samples
26/11/2013 04:35 AM 1,384 setup.py
17/12/2013 02:48 PM <DIR> tools
4 File(s) 8,529 bytes
7 Dir(s) 26,006,282,240 bytes free
P:\>
More information about the Python-list
mailing list