Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'mrab': 0.05; 'error:': 0.07; 'issue:': 0.09; 'makefile': 0.09; 'setup.py': 0.09; 'windows,': 0.09; 'subject:question': 0.10; 'python': 0.11; 'build_py': 0.16; 'command.': 0.16; 'cwd': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'inst': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'subject:install': 0.16; 'why,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'command': 0.22; '>>>': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'bytes': 0.24; 'asking': 0.27; 'header:In-Reply- To:1': 0.27; 'idea': 0.28; 'skip:p 30': 0.29; 'too.': 0.31; '"",': 0.31; '>>>>': 0.31; 'directory,': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'thanks!': 0.32; 'run': 0.32; 'running': 0.33; 'december': 0.35; 'something': 0.35; 'really': 0.36; 'shows': 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; 'free': 0.61; "you're": 0.61; 'here:': 0.62; 'header:Reply-To:1': 0.67; 'prompt': 0.68; 'default': 0.69; 'reply-to:no real name:2**0': 0.71; 'serial': 0.72; 'reply-to:addr:python.org': 0.84; 'navigate': 0.91; '2013': 0.98 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=d+zMl3TE c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=5FYZ9MsUIQAA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=xdP2GhzmAGQA:10 a=a9DB6PYzAAAA:8 a=77Jhyc6WJeoGDF_GyoUA:9 a=wPNLvfGTeEIA:10 X-AUTH: mrabarnett:2500 Date: Tue, 17 Dec 2013 23:30:16 +0000 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PDFMiner install question References: <0322a155-42ba-459b-8cac-fded7c12ba60@googlegroups.com> <89e3b06c-90d7-4cc5-8367-03c916a4dfcb@googlegroups.com> <472d91fe-2ddb-4a78-8a44-6b171f436903@googlegroups.com> In-Reply-To: <472d91fe-2ddb-4a78-8a44-6b171f436903@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org 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: 85 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387323018 news.xs4all.nl 2906 [2001:888:2000:d::a6]:49007 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62244 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:\> > The prompt shows that the current directory is P:\. On Windows, each drive has its own current directory, so you have to set the default drive too. I think this should do it: C: cd C:\users\Python27\pdfminer-master C:\USERS\Python27\python.exe setup.py inst