Python Forum

Full Version: ImportError: DLL load failed: The specified procedure could not be found.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having problem plotting very simple stuff in Python 2.7.
I am using Pycharm and installed successfully matplotlib Numpy sklearn. However when I run

import matplotlib.pyplot as plt
X = [[6], [8], [10], [14], [18]]
y = [[7], [9], [13], [17.5], [18]]

plt.plot(X, y, 'k.')
plt.axis([0, 25, 0, 25])
plt.grid(True)
plt.show()
I receive following error message :
ImportError: DLL load failed: The specified procedure could not be found.

I will be appreciated if anyone can help me Huh
please post your error messages (traceback) verbatim
It contains valuable information

import matplotlib.pyplot as plt

X = [6, 8, 10, 14, 18]
Y = [7, 9, 13, 17.5, 18]

plt.plot(X, Y, 'k.')
plt.axis([0, 25, 0, 25])
plt.grid(True)
plt.show()