python DLLs

40 views
Skip to first unread message

Todd Widup

unread,
Feb 6, 2014, 4:49:13 PM2/6/14
to python_in...@googlegroups.com
so we are setting some paths in a powershell before launching Maya, including to a directory with a few python DLLs. 

when Maya launches the systems that need those dlls fail, but if they are copied to system32 it works. 

Can you think what path would have to be set to allow them to be picked up correctly?  they are already in the PYTHONPATH

--
Todd Widup
Creature TD / Technical Artist
to...@toddwidup.com
todd....@gmail.com
www.toddwidup.com

Justin Israel

unread,
Feb 6, 2014, 6:36:40 PM2/6/14
to python_in...@googlegroups.com

I don't know much about windows + python extension but it seems strange that it would work when they are placed in system32. Is system32 part of the pythonpath?
These are definitely python extensions?

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABBPk36%3D1VENkr2K7cernKBfKwyQKDHWXWoXbNHWdvjvEYJY7g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Todd Widup

unread,
Feb 6, 2014, 6:57:00 PM2/6/14
to python_in...@googlegroups.com
pythoncom27.dll pythoncomloader27.dll pywintypes27.dll
those the DLLs, part of pyWin32 , which is just the python for windows.  system 32 shouldn't be.  I know its not in this setup 



For more options, visit https://groups.google.com/groups/opt_out.

Jesse Kretschmer

unread,
Feb 6, 2014, 7:59:32 PM2/6/14
to python_in...@googlegroups.com
I think you just need to add these to the system PATH variable. The PYTHONPATH variable is not used when searching for binaries such as .exe and .dll files.


Todd Widup

unread,
Feb 6, 2014, 8:32:34 PM2/6/14
to python_in...@googlegroups.com
ok, will give that a try, thanks



For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages