It seems to me that windows takes as the first path the one where we load the plugin.
That’s what I would expect as well, but it hasn’t been my experience. Have a look at what dumpbin tells you about the dependencies of that plug-in, and make sure each of those are accessible on your PATH. For example. $ "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /DEPENDENTS rawfootPrintNode.mll Microsoft (R) COFF/PE Dumper Version 14.00.24215.1 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file rawfootPrintNode.mll File Type: DLL Image has the following dependencies: glew32.dll OpenMaya.dll OpenMayaRender.dll OpenMayaUI.dll Foundation.dll OpenMayaAnim.dll OPENGL32.dll MSVCP140.dll VCRUNTIME140.dll api-ms-win-crt-runtime-l1-1-0.dll api-ms-win-crt-stdio-l1-1-0.dll api-ms-win-crt-filesystem-l1-1-0.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-environment-l1-1-0.dll KERNEL32.dll Summary 1000 .data 1000 .gfids 1000 .pdata A000 .rdata 1000 .reloc 1000 .rsrc 8000 .text 1000 .tls $ On Wed, 3 Apr 2019 at 14:25, Rémi Deletrain <remi.deletr...@gmail.com> wrote: > It seems to me that windows takes as the first path the one where we load > the plugin. > I also tried to add the path in environment variables but it does not > change anything > > -- > 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/aa8efa01-8545-4922-b3f7-5c09a6381595%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/aa8efa01-8545-4922-b3f7-5c09a6381595%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/CAFRtmOC2f09D0ZqN2G0VCSLXAt%2B3Dhk-FtP8YSJLRMALY3QGQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.