using Distutils on winxp

polux polux2001 at wanadoo.fr
Tue Aug 27 00:51:26 EDT 2002


polux wrote:
> Hi
> every time I want to use "python <my path>\setup.py install
> I get the error message :
> 
> C:\Python22>python c:/Python22/OpenGLContext-1.0a3/setup.py install
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File "c:/Python22/OpenGLContext-1.0a3/setup.py", line 44, in ?
>     for file in os.listdir( directory):
> WindowsError: [Errno 3] Le chemin d'accÞs spÚcifiÚ est introuvable: 
> 'tests/*.*'
> 
> 
> (the last line means in english : can't find the specified path name)
> 
> 
> please help !
> 

I found the solution :

I've to change directory to the directory where setup.py is and then run 
python calling c:\python22\python

hm.......maybe it was obvious




More information about the Python-list mailing list