Re: Installing Django on Ubuntu

2011-05-28 Thread Nikhil Somaru
Hi, To add to what Martin said, I use a bash alias to activate my environments, which makes it easier than navigating to that directory every time I wanted to activate a specific environment. There's a great guide for this here: http://www.saltycrane.com/blog/2009/05/notes-

Re: Installing Django on Ubuntu

2011-05-28 Thread Martin Tiršel
Hello, only short reply: 1.) Don't use distro packages for python packages 2.) Instal some libraries you will need (libmysqlclient-dev, python-dev, build-essential, python-setuptools, ...) 3.) Install virtualenv (either using distro package or easy_install/pip if you want/need newer one), cr

Re: Installing Django on Ubuntu

2010-11-15 Thread Piotr Zalewa
On 11/15/10 14:41, Flaviu Simihaian wrote: > zalun, > > I thought to get mkvirtualenv you have to install the > virtualenvwrapper shell commands: > > $ pip install virtualenvwrapper > $ export WORKON_HOME=~/VirtualEnvs > $ mkdir -p $WORKON_HOME > $ source /usr/local/bin/virtualenvwrapper.sh > >

Re: Installing Django on Ubuntu

2010-11-15 Thread Flaviu Simihaian
zalun, I thought to get mkvirtualenv you have to install the virtualenvwrapper shell commands: $ pip install virtualenvwrapper $ export WORKON_HOME=~/VirtualEnvs $ mkdir -p $WORKON_HOME $ source /usr/local/bin/virtualenvwrapper.sh and then you can use it: $ mkvirtualenv django --no-site-packages

Re: Installing Django on Ubuntu

2010-11-15 Thread octopusgrabbus
As to installing a new Django, I'd perform an upgrade and avoid cutting and pasting. On Nov 15, 3:54 am, kelp wrote: > Hello, > So I have downloaded Django and put the folder into my /home/username/ > directory, and I ran setup.py. I played with Django a little bit, but > it turns out that I hav

Re: Installing Django on Ubuntu

2010-11-15 Thread Piotr Zalewa
On 11/15/10 08:54, kelp wrote: > Hello, > So I have downloaded Django and put the folder into my /home/username/ > directory, and I ran setup.py. I played with Django a little bit, but > it turns out that I haven't actually been using the newest, stable > version of Django (1.2.3), but I have been

Re: Installing Django on Ubuntu

2010-11-15 Thread smallfish
http://docs.python.org/install/index.html#modifying-python-s-search-path like this url. -- blog: http://chenxiaoyu.org twitter: @nnfish psql: http://psql.info On Mon, Nov 15, 2010 at 5:09 PM, k

Re: Installing Django on Ubuntu

2010-11-15 Thread kelp
How do I do that? Will this just reroute my Django path to the one in my /home/username/ directory? On Nov 15, 12:56 am, smallfish wrote: > add your django path to sys.path variable, add first. > -- > blog:http://chenxiaoyu.org twitter: @nnfish > psql:http://psql.info

Re: Installing Django on Ubuntu

2010-11-15 Thread smallfish
add your django path to sys.path variable, add first. -- blog: http://chenxiaoyu.org twitter: @nnfish psql: http://psql.info On Mon, Nov 15, 2010 at 4:54 PM, kelp wrote: > Hello, > So I have downloaded Django and put the folder into my /home/username/ > directory, a