Project Sci-Viz (Read Only)
General discussion of Project Sci-Viz-related topics, questions, or comments
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to load DLL '_maxplus.pyd'

11 REPLIES 11
Reply
Message 1 of 12
brettd
1741 Views, 11 Replies

Unable to load DLL '_maxplus.pyd'

I have downloaded and installed all the required files, and completed all the required operations.
When I try and use AutoCell this appears in the listener:
Error occured Unable to load DLL '_maxplus.pyd': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Trying ePMV results in this

The file "_maplus.pyd" is in the 3ds Max file.
11 REPLIES 11
Message 2 of 12
digginc
in reply to: brettd

Hello Cheese3000,

Thanks for the error report. I'm sorry that you are having install problems. It would be very helpful if you could provide the following information:

1) The value of your PATH environment variable.
2) The value of your PYTHONPATH environment variable.
3) The exact version of Python installed. Open the Python console and copy the first two lines.
4) Are you using 3ds Max 2013 32-bits or 64-bits?
5) Are you using 3ds Max 2013 or 3ds Max 2013 Design?
6) What is the install location of 3ds Max?
7) Which OS are you installed on?

If you are unfamiliar with how to get the environment variable, you can open cmd.exe and type: "echo &#xPA;TH% and echo &#xPY;THONPATH%".

Thanks a lot for trying out Sci-Viz.
Christopher Diggins, M&E SDK Specialist
For 3ds Max SDK questions also check out http://stackoverflow.com/questions/tagged/3dsmax
Message 3 of 12
Steve_Curley
in reply to: digginc

Quick point Chris - the forum s/ware throws a hissy fit with the Percent symbol. I never did find a way to fix it because it alters the actual text you type in (when you submit the post) 😞

echo ^PATH^
echo ^PYTHONPATH^
*** replace ^ with the Percent symbol

Is about the only way around it, I'm afraid.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

Message 4 of 12
brettd
in reply to: brettd

Hello Cheese3000,

Thanks for the error report. I'm sorry that you are having install problems. It would be very helpful if you could provide the following information:
Thanks a lot for trying out Sci-Viz.

Hi,
Sorry for the late reply,

1/2:
http://imageshack.us/scaled/landing/443/pythonpath.png

3: Python 2.6.6
4: 64-bits
5: 3ds Max 2013
6: C:\Program Files\Autodesk\3ds Max 2013
7: Windows 8

Sorry for not providing this earlier...
Message 5 of 12
digginc
in reply to: brettd

Hello Cheese3000 ... or should I say Brett D? 😉

Thanks for writing back.

1) Please try appending the following to your PATH environment variable:
C:\Python26;C:\Python26\DLLs;C:\Python26\libs;

Let me know if this does the trick.

2) If that fails, my next recommendation will be to try downloading and installing:
http://www.microsoft.com/en-us/download/details.aspx?id=14632

Thanks for your patience!
Christopher Diggins, M&E SDK Specialist
For 3ds Max SDK questions also check out http://stackoverflow.com/questions/tagged/3dsmax
Message 6 of 12
brettd
in reply to: brettd

hi,
Changed the PATH environment variable, that didnt seem to solve the problem, and downloading C++ 2010 didnt work either, "A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine" (Which Im pretty sure I got when I downloaded 3ds Max).
Message 7 of 12
digginc
in reply to: brettd

Hi Brett,

I suspect this is due to a file available in Windows 7 by default, that is not available by default in Windows 8.

In order to get to the root cause of you could open the file "_MaxPlus.pyd" in a program called Dependency Walker (<a href="http://www.dependencywalker.com/">http://www.dependencywalker.com/</a>) it would tell us exactly what dependencies are missing.

This program takes only a minute to download and install, and it would be doing us a huge service.

Thanks again for your help and patience,
Christopher
Christopher Diggins, M&E SDK Specialist
For 3ds Max SDK questions also check out http://stackoverflow.com/questions/tagged/3dsmax
Message 8 of 12
brettd
in reply to: brettd

Image

What exactly do you want, I tried to display as much information as possible, but there is still a fair amount of it invisible.
Message 9 of 12
digginc
in reply to: brettd

Image

What exactly do you want, I tried to display as much information as possible, but there is still a fair amount of it invisible.


That was perfect. So the system cannot find the file "Python26.dll". On my system &#40;Windows 7&#41; it is installed by the Python MSI installer in C:\Windows\System32. On your system, I don't know where it went. Maybe you installed only the source of Python 2.6? Does your Python even work? If it does, then Python26.dll is probably somewhere in one of the sub-folders of your C:\Python26 directory.

If you can find that file on your system, we just need to add its folder to the PATH environment variable.

You can also try uninstalling Python and then reinstalling it using the <a href="www.python.org/ftp/python/2.6.6/python-2.6.6.amd64.msi">Windows installer</a>.

By the way, since we started exchanging emails there is a new version of ePMV / autoPack. Once you get past the current issue with loading _MaxPlus.pyd I suggest installing the latest version of autoPack from <a href="http://www.autopack.org/download/3d-studio-max-installation">http://www.autopack.org/download/3d-stu...

Can't say how much I appreciate your help and patience! There are a lot of dependencies to this technology, and getting it to work smppthly on all systems can be a real challenge!
Christopher Diggins, M&E SDK Specialist
For 3ds Max SDK questions also check out http://stackoverflow.com/questions/tagged/3dsmax
Message 10 of 12
brettd
in reply to: digginc

Python 26.dll is in C:\Windows\SysWOW64
I only know about python, and have no experience with actually using it, but I can open the python GUI, and and do basic things like the license..etc

How exactly should I add the folder to the PATH, I tried just adding C:\Windows\SysWOW64 at the end, and it seems to have changed something, trying either results in the same as before, except for the _maxPlus.pyd part, which has been changed to:
Error occured An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Message 11 of 12
digginc
in reply to: brettd

Thanks Brett, I believe (with 99% confidence) the problem is that you have installed Python 2.6.6 32-bits, not Python 64-bits.

When I launch Python I see:

Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) on win32

What about you?

Here are some links that helped me track down the problem:
* <a href="http://en.wikipedia.org/wiki/WoW64">http://en.wikipedia.org/wiki/WoW64</a></li>
* <a href="http://mail.python.org/pipermail/python-list/2011-June/606546.html">http://mail.python.org/pipermail...

Un-installing the 32-bit version and installing a 64-bit version should fix the problems.

Thanks!
Christopher
Christopher Diggins, M&E SDK Specialist
For 3ds Max SDK questions also check out http://stackoverflow.com/questions/tagged/3dsmax
Message 12 of 12
brettd
in reply to: brettd

Ahh...
I did get the 32-bits, sorry for the needless hassle, Im not sure how I managed to get the wrong version without realising.

Changing to 64-bits works, and both ePMV and AutoCell now work fine(aswell as the new version).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report