On Monday, November 26, 2012 5:07:13 PM UTC+5:30, PBLNRAO Kiran wrote: > Hi, > > I want to know if its possible to use pywin32 from a network location. > Currently i am using PyQt4 from network location and its working. Same way i > tried pywin32 by copying to network location. > > when in import win32api or some other module i get below error > > Traceback (most recent call last): > File "<pyshell#27>", line 1, in <module> > import win32api > ImportError: No module named win32api > > Do any one have idea to over come this.
Finally i could able to find a solution. I am posting the solution so someone in the same situation might be helpful. In order to make win32 module to work from central location we need to run a script on every client. 1. Install python with python pywin32 on a network drive. say we installed it on a central location "\\server\python26" were everyone has access to this path. 2. On every client run "\\server\Python26\python.exe \\server\Python26\Scripts\pywin32_postinstall.py -install" 3. Thats it all done. It worked perfectly for me. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected].
