Re: where is my pythonpath

2008-09-20 Thread Jeff Anderson
KillaBee wrote: > I need to edit my pythonpath, but where it? > Your PYTHONPATH isn't a file. It is a list of directories that python searches through to find python code. When you type 'import django' it looks in the first directory for code that provides the Django module, then the next, and t

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I am working with django .90, but I have a Mysql db in setting.py and I am trying to link Django with this DB. I run this command to do this. export DJANGO_SETTINGS_MODULE=app.settingsNo errors then django-admin.py init --settings=app.settings I get this error. EnvironmentError: Could not i

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I am working with django .90, but I have a Mysql db in setting.py and I am trying to link Django with this DB. I run this command to do this. export DJANGO_SETTINGS_MODULE=app.settingsNo errors then django-admin.py init --settings=app.settings I get this error. EnvironmentError: Could not i

Re: where is my pythonpath

2008-09-18 Thread KillaBee
On Sep 18, 11:20 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > would be this you are looking for ? > > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > []'s > Sergio Durand > > KillaBee escreveu: > > > I need to edit my pythonpath, but where it? > > This

Re: where is my pythonpath

2008-09-18 Thread Jirka Vejrazka
KillaBee, PYTHONPATH is an environment variable, not a file. Try typing "env" at yout Ubuntu command line. How to modify the environment variable was already descibed in this thread so I won't go into that again. Cheers Jirka On 9/18/08, KillaBee <[EMAIL PROTECTED]> wrote: > > Th

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I don't have A sys.path in that folder for Ubuntu. On Sep 18, 11:20 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > would be this you are looking for ? > > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > []'s > Sergio Durand > > KillaBee escreveu: > > > I

Re: where is my pythonpath

2008-09-18 Thread KillaBee
That give me the folder, I know that I was in the right folder. I am looking for a file called PythonPath and there is none. What is this file that I am editing. Do I just put A symlink in the folder. On Sep 18, 11:20 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > would be this you are looking

Re: where is my pythonpath

2008-09-18 Thread Sérgio Durand
would be this you are looking for ? python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" []'s Sergio Durand KillaBee escreveu: > I need to edit my pythonpath, but where it? > > > > --~--~-~--~~~---~--~~ You received this mess

Re: where is my pythonpath

2008-09-18 Thread Tim Chase
> I need to edit my pythonpath, but where it? Which OS? And for what duration (just one shell session, or for all shell-sessions)? On *nix systems (Linux, BSD, Mac, etc), to set it across shell sessions, you usually set it in your .bashrc (or if you're using an alternate shell, in its rc fil

where is my pythonpath

2008-09-18 Thread KillaBee
I need to edit my pythonpath, but where it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send