On 3/7/2013 6:00 AM, Tejashri Kandolkar wrote: > Hi, > > I built matplotlib1.2.0 with python3.2 on Windows7 from source. > I built the libpng and freetype libs and linked them statically to > matplotlib. > > Everything works fine on my machine, I can run the matplotlib examples etc > But on a new Win7 machine(with the exact same configuration as mine, > except a few softwares), I get the following error when i try to import > png module like this: > > import matplotlib._png > > ImportError: DLL load failed: The application has failed to start > because its side-by-side configuration is incorrect. Please see the > application event log or use the command-line sxstrace.exe tool for more > detail. > > > I used the dependency walker and found that pyd_ DLL was indeed having > issues during load. > > What could be the reason. Surprisingly it works all fine on my machine. > > > Regards, > Tej >
Assuming this is 32 bit Python, install the Microsoft Visual C++ 2008 Redistributable Package (x86) <from http://www.microsoft.com/en-us/download/details.aspx?id=29> Christoph ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users