Update on my question Now i am able to import PyQt4 modules by making small changes in network location as below.
Moved all the files from "PyQt4\bin" to "PyQt4" But still importing win32 modules are pending... On Monday, December 24, 2012 3:39:01 PM UTC+5:30, PBLNRAO Kiran wrote: > Hi All, > I have a situation where i want to use the python modules from a network > location. > I copied PyQt4,win32, etc. in network path. > > i have separate folders for x32 and x64 in network location. Both have all > the required modules. > > PyQt4 was working fine without any issue. > > For win32 extensions we need to run following "pywin32_postinstall.py > -install" once. Assuming our python installation on the network is > N:\Python26, we need to run the following command on every client: > > N:\Python26\python.exe N:\Python26\Scripts\pywin32_postinstall.py -install > > with this even win32 extensions are also working fine. > > I used "win32security" module for impersonate. > > Now the problem i am facing is. > 1. I have two applications which uses win32 extensions. > 2. One is internal to maya and other is external to maya. > 3. When i have Maya x32 and python x32 is installed and configured the > modules for x32 from network all are working fine. > 4. When i have Maya x64 and python x64 is installed and configured the > modules for x64 from network all are working fine. > > The issue is when i have different bit ver of maya and external python. > > For example if i have Maya x64 and python x32 installed. I am able to import > "win32security" in external python but not able to import it in Maya. Since > win32 are configured for x32 using "pywin32_postinstall.py -install". > > Can any one suggest me an alternate how can i make this work. -- 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].
