Wednesday, May 14, 2014

Setting up python

This is pretty trivial, but I just booted up a brand new computer and have been in the process of downloading things for hours.

1. Download/install python.  I use Python 2.7.

2. From powershell, run this to make sure you can run python from anywhere:
(django-jay) PS C:\Python27\> [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")
3. Install PIP. Download get-pip.py, then run it from your powershell window:
(django-jay) PS C:\Python27\> python get-pip.py
4. Set the PATH environment variable to include the C:\Python27\Scripts directory
(django-jay) PS C:\Python27\> [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\Scripts", "User")
5. Quit out of powershell, and reboot it.  Now run the following command:
PS C:\Python27> pip install virtualenv
7. Download/install PostgreSQL (this gives you access to psql shell)

That's it for the stuff I need! I'll update this as it evolves.

1 comment:

  1. Choosing the 우리카지노 best paytable is crucial to successful massive in Video Poker. Look for a sport that gives between 97% and one hundred pc return. For example, when enjoying in} a Jacks or Better sport, at all times go for a "9/6" (where the proportion of return is ninety nine.54%) or extra.

    ReplyDelete