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


Groups > comp.lang.python > #79287

Re: Quick Question About Setting Up Pytz

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Quick Question About Setting Up Pytz
Date 2014-10-19 13:50 +1100
References <afacd3f6-f46e-419b-a765-5d836d8b5f1d@googlegroups.com> <aa08bad3-18c1-43e8-8673-ac8ce7fc4e7e@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.14980.1413687030.18130.python-list@python.org> (permalink)

Show all headers | View raw


ryguy7272 <ryanshuell@gmail.com> writes:

> So, when I run it, the setup.py text file opens. Nothing runs; nothing
> installs.

You have somehow (either manually, or by answering a question to some
program) associated the ‘.py’ suffix with “Open this file in my text
editor”.

That's fine, but it means that if you don't want to edit the file but
instead want to execute it, you need to *explicitly* start Python:

    python /whatever/path/to/setup.py install

> This makes no sense whatsoever.

This is an issue with your operating system, so I would hope you can
learn more about that to distinguish what is causing your frustration
:-)

-- 
 \          “I got an answering machine for my phone. Now when someone |
  `\      calls me up and I'm not home, they get a recording of a busy |
_o__)                                          signal.” —Steven Wright |
Ben Finney

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


Thread

Quick Question About Setting Up Pytz ryguy7272 <ryanshuell@gmail.com> - 2014-10-18 12:54 -0700
  Re: Quick Question About Setting Up Pytz Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-18 16:01 -0400
  Re: Quick Question About Setting Up Pytz Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-18 21:20 +0100
  Re: Quick Question About Setting Up Pytz ryguy7272 <ryanshuell@gmail.com> - 2014-10-18 19:44 -0700
    Re: Quick Question About Setting Up Pytz Chris Angelico <rosuav@gmail.com> - 2014-10-19 13:49 +1100
    Re: Quick Question About Setting Up Pytz Ben Finney <ben+python@benfinney.id.au> - 2014-10-19 13:50 +1100
    Re: Quick Question About Setting Up Pytz Ben Finney <ben+python@benfinney.id.au> - 2014-10-19 13:54 +1100
      Re: Quick Question About Setting Up Pytz Rustom Mody <rustompmody@gmail.com> - 2014-10-18 20:16 -0700
        Re: Quick Question About Setting Up Pytz Ryan Shuell <ryanshuell@gmail.com> - 2014-10-19 16:18 -0400
        Re: Quick Question About Setting Up Pytz Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 09:19 +0100
    Re: Quick Question About Setting Up Pytz Chris Angelico <rosuav@gmail.com> - 2014-10-19 14:10 +1100

csiph-web