Re: problem python

2012-06-06 Thread Aldrich DeMata
Python can't find site.py. It's either missing when you installed python, it was deleted, or it's located in another directory. Run >>> find / -iname 'site.py' , sudo if needed, and add the location of site.py in your python search path. The python online docs has a good documentation on python s

Re: problem python

2012-06-06 Thread Peter Otten
Tom King wrote: [Please hit "reply-all" in your email client when you answer a post. That way it will appear on the mailing list and give more people a chance to answer] >>> when i type python in my command line console i get an error message >>> >>> 'import site' failed; use -v for traceback

Re: problem python

2012-06-06 Thread Peter Otten
Tom King wrote: > hi im new in python and i have a problem about > > when i type python in my command line console i get an error message > > 'import site' failed; use -v for traceback > Python 2.4.3 (#1, May 5 2011, 18:44:23) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2 > Type "help", "

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2009-03-25 Thread John Machin
On 26/03/2009 9:05 AM, Mark Hammond wrote: On 25/03/2009 11:41 PM, John Machin wrote: This all sounds good. I presume that "this version of distutils" means the 2.6.2/3.1 version. Yep. In the meantime, until 2.6.2 final is released, is my suggestion of using Python 2.5 to build installers

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2009-03-25 Thread Mark Hammond
On 25/03/2009 11:41 PM, John Machin wrote: This all sounds good. I presume that "this version of distutils" means the 2.6.2/3.1 version. Yep. In the meantime, until 2.6.2 final is released, is my suggestion of using Python 2.5 to build installers reasonable? Yep. Is there a better appro

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2009-03-25 Thread John Machin
On 25/03/2009 10:32 PM, Mark Hammond wrote: On 25/03/2009 11:06 AM, John Machin wrote: It would appear that the safest cover-most-bases option for a developer/packager of pure-Python packages (especially one intended to be runnable on older versions of Python, some as far back as 2.1) is to use

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2009-03-25 Thread Mark Hammond
On 25/03/2009 11:06 AM, John Machin wrote: It would appear that the safest cover-most-bases option for a developer/packager of pure-Python packages (especially one intended to be runnable on older versions of Python, some as far back as 2.1) is to use Python 2.5 to make the bdist_wininst (the exe

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2009-03-24 Thread John Machin
Martin v. Löwis v.loewis.de> writes: > > > Sorry for not being explicit. With "installer" I meant the binary > > Windows installer you create with command "python setup.py > > bdist_wininst". In the past we've been able to use > > "package-version.win32.exe" files created with Python 2.5 on olde

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-16 Thread Martin v. Löwis
> Sorry for not being explicit. With "installer" I meant the binary > Windows installer you create with command "python setup.py > bdist_wininst". In the past we've been able to use > "package-version.win32.exe" files created with Python 2.5 on older > version, but that doesn't seem to be case with

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-16 Thread Pekka Klärck
2008/12/16 "Martin v. Löwis" : >>> Try installing Python 2.6.1 "for all users". >> >> Could you clarify why that's needed? > > I didn't say it's needed. I said that he should try that, perhaps it > helps. > >> One thing we noticed (I'm not sure has this been yet submitted to >> bugs.python.org yet)

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Martin v. Löwis
> I noted, also, than, in some cases, Python26.dll is not copied in > %WINDIR%\system32 > After that, external softs don't find the DLL. Right. Only in "for all users" installations, python26.dll is put into system32. In a "just for me" installation, the user is not expected to have permissions to

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Michel Claveau - NoSpam SVP ; merci
Hi! I noted, also, than, in some cases, Python26.dll is not copied in %WINDIR%\system32 After that, external softs don't find the DLL. But it's a detail, because it's easy to copy the DLL with install scripts. @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/pytho

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Michel Claveau - NoSpam SVP ; merci
Hi! Thank you very much for your answer. I appreciate many to receive an answer of somebody as you. But I, always, install Python 2.6.1 "for all users" (and, on Vista, UAC is always deactivated). After some tests, the problem seems a bit more complex: call the Python-COM-servers run OK, fr

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Martin v. Löwis
>> Try installing Python 2.6.1 "for all users". > > Could you clarify why that's needed? I didn't say it's needed. I said that he should try that, perhaps it helps. > One thing we noticed (I'm not sure has this been yet submitted to > bugs.python.org yet) was that installing packages created wit

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Pekka Klärck
2008/12/15 "Martin v. Löwis" : >> I am very disappointed. Help me, please. > > Try installing Python 2.6.1 "for all users". Could you clarify why that's needed? Link to a relevant bug report or something similar is enough. We've got some weird problems installing Python packages (win32.exe) on Wi

Re: Problem Python 2.6.1 vs 2.6 & pyWin32

2008-12-15 Thread Martin v. Löwis
> I am very disappointed. Help me, please. Try installing Python 2.6.1 "for all users". Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem: Python search path - module order

2006-10-17 Thread Thomas Guettler
aznach wrote: > Hello! > > I have a shared hosting account at GrokThis.net and have a problem with > the module order of the Python search path. > > I'd like to use django's svn trunk instead of the > "Django-0.95-py2.4.egg" provided in site-packages. > I use ~/.bash_profile to set: > ---