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


Groups > comp.lang.python > #79278

Re: Quick Question About Setting Up Pytz

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Question': 0.07; 'happens.': 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; 'typed': 0.09; 'assume': 0.14; 'language.': 0.14; 'cmd': 0.16; 'desktop.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'set,': 0.16; 'url:pip': 0.16; 'url:windows': 0.16; 'language': 0.16; 'wrote:': 0.18; 'install': 0.23; 'header:User-Agent:1': 0.23; 'this:': 0.26; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'quickly': 0.29; 'getting': 0.31; 'subject:About': 0.31; 'file': 0.32; 'supposed': 0.32; 'text': 0.33; 'open': 0.33; 'url:python': 0.33; 'anywhere': 0.35; 'except': 0.35; 'library.': 0.36; 'doing': 0.36; 'url:org': 0.36; 'should': 0.36; 'window': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'our': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'yourself': 0.78; 'associations': 0.84; 'confusing': 0.84; 'subject:Quick': 0.84; 'opens': 0.91; 'url:latest': 0.91; 'subject:Setting': 0.96
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Quick Question About Setting Up Pytz
Date Sat, 18 Oct 2014 21:20:43 +0100
References <afacd3f6-f46e-419b-a765-5d836d8b5f1d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-211-10.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To <afacd3f6-f46e-419b-a765-5d836d8b5f1d@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 <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.14973.1413663666.18130.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413663666 news.xs4all.nl 2872 [2001:888:2000:d::a6]:48995
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79278

Show key headers only | View raw


On 18/10/2014 20:54, ryguy7272 wrote:
> I downloaded PYTZ and put it here.
> C:\Python27\pytz
>
> Now, in the cmd window, I typed this:
> C:\Python27\pytz\setup.py
>
> A text file opens and nothing else happens.  I thought it was supposed to install the PYTZ library.
>
> What am I doing wrong?
>

You will end up confusing yourself very quickly if you insist on placing 
files in c:\Python27.  Please put them anywhere except that spot, say in 
downloads or on the desktop.  Let's assume your desktop is here 
c:\Users\ryguy7272\Desktop.  Open a cmd window then

cd c:\Users\ryguy7272\Desktop
setup.py install

should work if and only if you have the file types and file associations 
correctly set, please see 
https://docs.python.org/2/using/windows.html#executing-scripts

Better still take the hard work out of it by getting pip by following 
the instructions here http://pip.readthedocs.org/en/latest/installing.html

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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