forgot to add this to my last post...
I created an 'env' dir in my home folder, there I have the enviroments
dirs 'py23-zope2.8' and 'py25-dj-nfa' for example.
This is what I need to do, to active the environment in the shell and
what it looks after:
host:~ username$ source
On Jun 23, 3:08 pm, Jamie Pittock <[EMAIL PROTECTED]> wrote:
> Hi all - this may well be a very basic question but I'm gonna ask it
> anyway as, everyone needs to learn, and I can't find the answer
> anywhere else. It's probably more related to Python than Django
> but...
>
> If you're
Jamie Pittock wrote:
> Thank you Gordon (and Joshua) that's really useful.
>
> I think I'll use the site-packages folder then. After doing what you
> said I've noticed I seem to have multiple installs of Python on my
> machine (OSX).
>
> /usr/lib/python2.5/
> /Library/Python/2.5/
>
No, that does help. This is all making sense now. Looking around in
the different site-packages folders I can start seeing where things
have gone wrong. I was running 'sudo python setup.py install' but it
didn't appear to be doing anything. It turns out they were just being
installed in a
It may very well make a difference if you're using python2.4 and you
install packages in a python2.5 site-packages directory! I remember
reading somewhere that that was one of the issues of doing a Leopard
upgrade, versus wiping the drive and doing a full install. I did the
latter, and I
Thank you Gordon (and Joshua) that's really useful.
I think I'll use the site-packages folder then. After doing what you
said I've noticed I seem to have multiple installs of Python on my
machine (OSX).
/usr/lib/python2.5/
/Library/Python/2.5/
/opt/local/lib/python2.5/
Jamie the command you quoted "python setup.py install" -- on my system
I have to run it as root or else do "sudo python setup.py install" --
will copy the files for that module to the appropriate location.
If the module you are interested in is in pure Python, with no c-code,
you can often just
Depends on your setup, I store my extras (MySQLdb, Django, mod_python/
wsgi installers, Imaging, etc.) in /opt/. It's usually empty on most
machines. Some like to use a folder within their user folder,
especially for multi user computers.
It's really up to you.
On Jun 23, 9:08 am, Jamie Pittock
Hi all - this may well be a very basic question but I'm gonna ask it
anyway as, everyone needs to learn, and I can't find the answer
anywhere else. It's probably more related to Python than Django
but...
If you're installing additional Python libraries such as Imaging or
Markdown, where are
9 matches
Mail list logo