Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'issue:': 0.09; 'lawrence': 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; 'windows': 0.15; 'cwd': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:install': 0.16; 'why,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'command': 0.22; 'install': 0.23; 'header :User-Agent:1': 0.23; 'tells': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; '"",': 0.31; '>>>>': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'thanks!': 0.32; 'run': 0.32; 'running': 0.33; 'url:org': 0.36; 'should': 0.36; 'jason': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; 'here:': 0.62; 'our': 0.64; 'received:89': 0.85; 'navigate': 0.91 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 20:27:50 +0000 References: <0322a155-42ba-459b-8cac-fded7c12ba60@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: host-89-240-168-13.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <0322a155-42ba-459b-8cac-fded7c12ba60@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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387312087 news.xs4all.nl 2842 [2001:888:2000:d::a6]:41910 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62237 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! > The "import os" tells me that you're running setup.py from a Python prompt, you should be running it from a Windows command prompt. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence