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


Groups > comp.lang.python > #79278

Re: Quick Question About Setting Up Pytz

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Quick Question About Setting Up Pytz
Date 2014-10-18 21:20 +0100
References <afacd3f6-f46e-419b-a765-5d836d8b5f1d@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.14973.1413663666.18130.python-list@python.org> (permalink)

Show all headers | 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