Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'mrab': 0.05; 'error:': 0.07; 'issue:': 0.09; 'lawrence': 0.09; 'makefile': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'subject:question': 0.10; 'python': 0.11; 'language.': 0.14; 'build_py': 0.16; 'command.': 0.16; 'cwd': 0.16; 'inst': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spacing': 0.16; 'subject:install': 0.16; 'why,': 0.16; 'prevent': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'thanks.': 0.20; 'command': 0.22; '>>>': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'bytes': 0.24; 'url:moin': 0.24; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'skip:p 30': 0.29; 'url:wiki': 0.31; '"",': 0.31; '>>>>': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'thanks!': 0.32; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; 'december': 0.35; 'something': 0.35; 'really': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'jason': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'volume': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'above,': 0.60; 'free': 0.61; "you're": 0.61; 'here:': 0.62; 'making': 0.63; 'our': 0.64; 'more': 0.64; 'assistance': 0.66; 'serial': 0.72; 'glad': 0.83; 'received:2': 0.84; 'navigate': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: PDFMiner install question Date: Tue, 17 Dec 2013 22:03:37 +0000 References: <0322a155-42ba-459b-8cac-fded7c12ba60@googlegroups.com> <89e3b06c-90d7-4cc5-8367-03c916a4dfcb@googlegroups.com> <472d91fe-2ddb-4a78-8a44-6b171f436903@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 2.98.193.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <472d91fe-2ddb-4a78-8a44-6b171f436903@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 187 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387317836 news.xs4all.nl 2881 [2001:888:2000:d::a6]:60543 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62242 On 17/12/2013 20:59, Jason Mellone wrote: > 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 "", 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 . > 17/12/2013 02:55 PM .. > 17/12/2013 02:48 PM cmaprsrc > 17/12/2013 02:48 PM 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 pdfminer > 26/11/2013 04:35 AM 5,311 README.md > 17/12/2013 02:48 PM samples > 26/11/2013 04:35 AM 1,384 setup.py > 17/12/2013 02:48 PM tools > 4 File(s) 8,529 bytes > 7 Dir(s) 26,006,282,240 bytes free > > P:\> > Hi, glad to see you're making some progress :) You're likely to get more offers of assistance if you read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence