Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62238

Re: PDFMiner install question

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 <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'issue:': 0.09; 'setup.py': 0.09; 'subject:question': 0.10; 'python': 0.11; 'command.': 0.16; 'cwd': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 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; 'install': 0.23; 'header:User-Agent:1': 0.23; 'asking': 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; 'something': 0.35; 'really': 0.36; 'url:org': 0.36; 'should': 0.36; 'jason': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; "you're": 0.61; 'here:': 0.62; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'reply-to:addr:python.org': 0.84; 'navigate': 0.91
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=V2sDXE2YcalIwbt8L_wA:9 a=wPNLvfGTeEIA:10
X-AUTH mrabarnett:2500
Date Tue, 17 Dec 2013 20:32:56 +0000
From MRAB <python@mrabarnett.plus.com>
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>
In-Reply-To <0322a155-42ba-459b-8cac-fded7c12ba60@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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4310.1387312378.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387312378 news.xs4all.nl 2914 [2001:888:2000:d::a6]:44499
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62238

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PDFMiner install question Jason Mellone <jason.mellone@gmail.com> - 2013-12-17 12:06 -0800
  Re: PDFMiner install question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-17 20:27 +0000
  Re: PDFMiner install question MRAB <python@mrabarnett.plus.com> - 2013-12-17 20:32 +0000
    Re: PDFMiner install question Jason Mellone <jason.mellone@gmail.com> - 2013-12-17 12:53 -0800
      Re: PDFMiner install question Jason Mellone <jason.mellone@gmail.com> - 2013-12-17 12:59 -0800
        Re: PDFMiner install question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-17 22:03 +0000
        Re: PDFMiner install question MRAB <python@mrabarnett.plus.com> - 2013-12-17 23:30 +0000
          Re: PDFMiner install question Jason Mellone <jason.mellone@gmail.com> - 2013-12-19 11:36 -0800
            Re: PDFMiner install question MRAB <python@mrabarnett.plus.com> - 2013-12-19 21:18 +0000
            Re: PDFMiner install question Andreas Perstinger <andipersti@gmail.com> - 2013-12-20 10:00 +0100

csiph-web