turned out that the module wasnt compiled with the compiler i thought!
Recompiling with the right one did the trick. Thanks

2018-01-22 6:21 GMT+01:00 Michael Boon <boons...@gmail.com>:

> There's a good chance that the dll that fails is not something you're
> importing directly, but is being loaded from inside a module you're using,
> maybe from inside pycrypto. The reason could be Python version, 32 vs 64
> bit, or the availability of some OS function.
>
> You could set "Show Stack Trace" in the Maya Listener and you might see
> more. If that doesn't help, maybe try catching the exception and taking a
> closer look. I use a variation of the code here
> <http://code.activestate.com/recipes/52215-get-more-information-from-tracebacks/>for
> that sort of thing.
>
> On Saturday, 20 January 2018 05:29:08 UTC+11, Juan Cristóbal Quesada wrote:
>>
>> Hi guys,
>> this is the second time i write in a couple of days, excuse me for
>> bombing you but im having a hard time.
>>
>> we have integrated in our pipeline some tools that use 'pycrypto' module
>> and ive managed to make it work by compiling it with Visual Studio C++
>> through pip install pycrypto.
>>
>> This works inside Maya in Windows 10, and we have another compiled
>> version of pycrypto for Windows Server 2016. And here comes the trouble:
>>
>> Im able to make it work pycrypto through the console in windows server
>> 2016 but when it comes to running the tools and loading the module inside
>> Maya 2017 update 3 i get a message of "DLL load failed: The specified
>> module could not be found", and i know for sure that the module is there
>> and that im importing the correct package. The sys.path is the same as when
>> run through the console as in Maya.
>>
>> Im pretty stuck with this. So ill be glad to have any insights. Anyone
>> has encountered a similar problem?
>>
>> Thanks in advance
>>
> --
> 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_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/18d32c11-4f05-40fb-b621-
> 1c55b11cb381%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/18d32c11-4f05-40fb-b621-1c55b11cb381%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CANOg8wXEABeakwBTT7C2vN1%3D8NZE5mWv5H-L1j7a372%3DDwDOBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to