Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54442
| X-Received | by 10.224.96.136 with SMTP id h8mr156543qan.8.1379620265872; Thu, 19 Sep 2013 12:51:05 -0700 (PDT) |
|---|---|
| X-Received | by 10.50.73.39 with SMTP id i7mr181876igv.1.1379620265825; Thu, 19 Sep 2013 12:51:05 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!d5no530977qap.0!news-out.google.com!gv3ni658qab.0!nntp.google.com!d5no530969qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Thu, 19 Sep 2013 12:51:05 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=50.200.49.83; posting-account=G__ltQoAAABWGrMFW3C1_ps_Y1taFb9v |
| NNTP-Posting-Host | 50.200.49.83 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <567c7442-313f-4df3-8fc4-ff3256aabc46@googlegroups.com> (permalink) |
| Subject | Using the MSI installer on Windows: Setting PATH and Setuptools |
| From | cython@m.allo.ws |
| Injection-Date | Thu, 19 Sep 2013 19:51:05 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.python:54442 |
Show key headers only | View raw
Hello All, I really hate Windows, and I have only intermittent access to Windows machines right now. When I install Python 2.7 on Windows using the MSI installer, it definitely does not modify the PATH variable. So I modify the PATH variable myself as follows: setx PATH %PATH%;C:\Python27\ Question 1: The command above requires a reboot in order to take effect, at least on Windows 8. How do I make it take effect immediately? Maybe if I repeat the same command again with 'set' instead of 'setx'? Does 'set' affect the whole machine, or only the current CMD.EXE session? Question 2: python-guide.org suggests adding C:\Python27\Scripts\ to the PATH as well. When is that necessary or helpful? If I forget to do that and have problems later, how can I tell the cause of the problems? Question 3: Does the Windows MSI installer from Python.org include Setuptools? python-guide.org implies that it does not include Setuptools, but I have never needed to manually install Setuptools, I am always able to use easy_install right away. Is my memory warped, or perhaps tainted by old Python installs on the same machine? Question 4: If the Windows MSI installer indeed lacks Setuptools, what is the best way to install it from the command line in a future-proof manner (on Windows)? I am imagining something like this: wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py python ez_setup.py However, (1) wget is not a Windows command. What is the Windows command? And (2) is that URL the best possible URL? Or will that URL only download an old version, and there is a better URL for new versions? Thank you, Zak
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Using the MSI installer on Windows: Setting PATH and Setuptools cython@m.allo.ws - 2013-09-19 12:51 -0700
Re: Using the MSI installer on Windows: Setting PATH and Setuptools Skip Montanaro <skip@pobox.com> - 2013-09-19 15:06 -0500
Re: Using the MSI installer on Windows: Setting PATH and Setuptools cython@m.allo.ws - 2013-09-19 13:31 -0700
Re: Using the MSI installer on Windows: Setting PATH and Setuptools Skip Montanaro <skip@pobox.com> - 2013-09-19 15:42 -0500
RE: Using the MSI installer on Windows: Setting PATH and Setuptools "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-09-19 22:22 +0000
csiph-web