March 18, 2013

[20:18:38] pilgrimish: leaves
[21:13:12] pilgrimish: joins
[21:46:50] kenbolton: leaves
[21:49:33] kenbolton: joins
[22:57:11] kenbolton: leaves
[03:23:12] pilgrimish: leaves
[06:32:37] makrohn: joins
[08:21:11] kenbolton: joins
[09:15:32] thisgeek: joins
[10:17:20] pilgrimish: joins
[12:11:09] kenbolton: leaves
[12:19:07] kenbolton: joins
[13:05:49] pilgrimish: kenbolton: trying out django tutorial last night and can't get past install
[13:06:15] kenbolton: pilgrimish: good
[13:06:27] kenbolton: about trying it, not about getting stuck.
[13:07:26] pilgrimish: :) either or
[13:07:28] pilgrimish: i'm doing it
[13:07:46] kenbolton: ok, so let me write up my tutorial for you right here.
[13:08:01] kenbolton: do you have virtualenv installed?
[13:08:54] kenbolton: $ pip install virtualenv virtualenvwrapper
[13:09:22] kenbolton: (maybe using sudo, if that fails)
[13:10:17] kenbolton: open a new shell after that installs. there are some scripts that get loaded when you install venvwrapper.
[13:10:47] kenbolton: $ mkvirtualenv <proj_name> --no-site-packages --distribute
[13:10:58] kenbolton: $ workon <proj_name>
[13:11:05] kenbolton: $ cdvirtualenv
[13:11:16] kenbolton: $ pip install django
[13:11:28] kenbolton: # bam, django installed!
[13:19:12] pilgrimish: what directory should i be doing all of this in, i find that's the main issue
[13:19:17] pilgrimish: yes, i've got virtualenv installed
[13:19:23] pilgrimish: and virtualenvwrapper, if that's possible
[13:19:26] pilgrimish: ho
[13:19:41] kenbolton: who you callin' "ho"?
[13:19:53] kenbolton: directory doesn't matter.
[13:20:11] kenbolton: once you run `cdvirtualenv`, you will be in the projects directory.
[13:20:24] kenbolton: what happens when you follow those instructions?
[13:20:40] kenbolton: this should be on localhost. don't be messing around on some server on the internet.
[13:20:45] pilgrimish: all localhost
[13:20:48] kenbolton: good!
[13:20:51] pilgrimish: gotta restart machine
[13:20:55] kenbolton: WHAT?!
[13:21:00] pilgrimish: hold on a sec
[13:21:02] kenbolton: that is insane. i've never heard of such things.
[13:21:02] pilgrimish: leaves
[13:23:27] pilgrimish: joins
[13:28:26] kenbolton: how is it working out?
[14:01:19] pilgrimish: nothing yet
[14:01:22] pilgrimish: will let you know in a bit
[14:25:33] pilgrimish: kenbolton: mkvirtualenv command not found
[14:31:50] pilgrimish: seems i need to add three lines to the shell startup file
[15:04:25] kenbolton: pilgrimish: yeah, its been five years since i first installed virtualenvwrapper.
[15:04:32] pilgrimish: :)
[15:04:34] pilgrimish: i'm getting there
[15:05:07] kenbolton: i trust your google-fu and the documentation. those combined make you unstoppable.
[15:12:30] pilgrimish: going at it… will let you know
[15:12:34] pilgrimish: leaves
[15:20:48] makrohn: leaves
[16:19:53] pilgrimish: joins
[16:32:42] pilgrimish: kenbolton: This problem was my own fault. I had accidentally run virtualenv --no-site-packages . in my home directory, creating folders like ~/bin, ~/local, ~/lib, and Python was looking for its packages there, where there were none. Deleting these directories fixed the problem.
[16:33:03] pilgrimish: that's from stack overflow, sound like a viable culprit
[16:33:13] kenbolton: sort of.
[16:33:32] kenbolton: pilgrimish: mkvirtualenv removes that problem forever.
[16:34:10] pilgrimish: so doing that upon opening terminal, regardless of what directory i'm within, should do it
[16:34:43] pilgrimish: no dice
[16:34:44] kenbolton: right
[16:34:58] kenbolton: ...if you set up virtualenvwrapper correctly…
[16:35:32] kenbolton: "no dice" as in, nothing happens or it shits the bed?
[16:35:48] pilgrimish: -bash: mkvirtualenv: command not found
[16:35:56] kenbolton: https://github.com/philipbjorge/EditREPL
[16:36:03] kenbolton: pilgrimish: which means?
[16:36:15] pilgrimish: virtualenv is not properly installed
[16:36:50] kenbolton: virtualenvwrapper is not properly installed.
[16:37:21] kenbolton: http://virtualenvwrapper.readthedocs.org/en/latest/
[16:37:50] kenbolton: http://virtualenvwrapper.readthedocs.org/en/latest/#introduction
[16:38:17] pilgrimish: joins
[16:45:57] thisgeek: leaves
[16:49:44] pilgrimish: when i pip install virtualenvwrapper, i get "Requirement already satisfied (use --upgrade to upgrade): virtualenvwrapper in /usr/local/lib/python2.7/site-packages"
[16:49:48] pilgrimish: that's what's throwing me
[16:49:57] kenbolton: leaves
[16:51:02] kenbolton: joins
[16:58:21] kenbolton: leaves
[18:37:04] makrohn: joins
[18:38:21] makrohn: leaves
[19:35:13] thisgeek: joins
[19:46:48] thisgeek: leaves