• Register
0 votes
95 views

Problem :

I am new to python. I have tried to install below softwares:

Python 2.5.4, Numpy 1.5.0 win32, Matplotlib 1.0.0 win32, pywin32 218.

After doing so much of hard work I am still unable to plot the graphs in Python.

I am facing below error message:

import pylab
   File "C:\Python25\lib\site-packages\pylab.py", line 1, in <module>
      from matplotlib.pylab import *
   File "C:\Python25\lib\site-packages\matplotlib\pylab.py", line 216, in <module>
      from matplotlib import mpl  # pulls in most modules
   File "C:\Python25\lib\site-packages\matplotlib\mpl.py", line 1, in <module>
      from matplotlib import artist
   File "C:\Python25\lib\site-packages\matplotlib\artist.py", line 6, in <module>
      from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath
   File "C:\Python25\lib\site-packages\matplotlib\transforms.py", line 34, in <module>
      from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.

Can somebody help me in fixing this error?

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had faced such issues in the recent past. I did lot of research on it and found solution on it. Please try to follow below tips to fix the error.

I started with downloading the msvcp71.dll and msvcr71.dll from the internet.

After downloading I saved them to my C:\Windows\System32 folder.

And if you are using 64-bit operating system then you need to save them to the C:\Windows\SysWOW64 folder also. Now you can try to run your code file in your Python and it will surprise you by loading your graph within few seconds.

I hope this solution will fix your error

5 2 1
4,980 points

Related questions

1 vote
1 answer 5 views
5 views
Problem: I&rsquo;m unable to plot graphs in Python even after installing Python 2.5.4, Numpy 1.5.0 win32, Matplotlib 1.0.0 win32, pywin32 218. I&rsquo;m getting this error: import pylab File "C:\Python25\lib\site-packages\pylab.py", line 1, ... in <module> from matplotlib._path import affine_transform ImportError: DLL load failed: The specified module could not be found. How to solve this error?
asked 6 days ago Raj Tyagi 15.6k points
1 vote
1 answer 4 views
4 views
Problem: I have installed everything required &ndash; Python 2.5.4, Numpy 1.5.0 win32, Matplotlib 1.0.0 win32, pywin32 218 . But I&rsquo;m still getting error whenever I try to plot graphs in python . import pylab File "C:\Python25\lib\site-packages\ ... _path import affine_transform ImportError: DLL load failed: The specified module could not be found.What is the problem and how can I solve it ?
asked Apr 29 Raj Tyagi 15.6k points
0 votes
1 answer 5 views
5 views
Problem: I tried to install tensorflow cpu using pip in my windows8.1 64bit python3.6.0 using pip install tensorflow but it gives me this error: Traceback (most recent call last): File "C:\Users\Laitooo San\Desktop\tf.py", line 1, in <module> ... .dll is there and install Microsoft visual c++ 2015 I also uninstalled tensorflow and installed another version several times but without any result.
asked Apr 26 Moumita Bhowmick 12.9k points
0 votes
1 answer 3 views
3 views
Problem: I'm using Anaconda 3.1.0 on Windows 7 64 bit. I have installed tensorflow(GPU). I am getting errors while running following command. >>> import tensorflow as tf The complete traceback (tensorflow) C:\windows\system32>python ... /install_sources#common_installation_probl ems for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.
asked Apr 26 Moumita Bhowmick 12.9k points
0 votes
1 answer 15 views
15 views
Problem: I'm learning python using Visual Studio 2017 on Windows 10. When I'm trying to import NumPy library into my code, this error appears. I have tried uninstalling and reinstalling, looking for libiomp5md.dll per instruction in ImportError: DLL load ... not under version control). Otherwise reinstall numpy. Original error was: DLL load failed: The specified procedure could not be found.
asked Apr 24 Humaira ahmed 50.7k points
0 votes
1 answer 14 views
14 views
Problem: Hi, I am trying to run the example code from the install Kivy. The following is the error I receive back. Any help would be great: Sdl2 - importerror: dll load failed: the specified module could not be found. Any help appreciated.
asked Mar 27 ummesalma 29.2k points
1 vote
1 answer 35 views
35 views
Problem: In [windows server 2012 R2 x64, python 3.7 64x] From .cv2 import * importerror: dll load failed: the specified module could not be found.
asked Feb 23 Sofia Castro 4.2k points
0 votes
1 answer 3 views
3 views
Problem: I've been beginning to work with images in Python and I wanted to start using PIL (Pillow). To install it, I ran pip install Pillow. When installing, PIL was not previously installed. I also tried uninstalling it and reinstalling it, as well as using pip3 install Pillow.Why is this happening if the needed DLL is there? How can I fix it?
asked May 1 Moumita Bhowmick 12.9k points
1 vote
1 answer 14 views
14 views
Problem: I have installed Python 2.5.4 and trying to sort out this problem: Dll load failed: the specified module could not be found.
asked Apr 29 PkGuy 23.5k points
0 votes
1 answer 10 views
10 views
Problem: I installed tensorflow 2.0 and tensorflow_dataset in a python 3 environment ,then when I try to import tensorflow_datasets, But I am unable to do so. Please show me the method .
asked May 1 salim1 60.6k points