numpy array: IndexError: too many indices for array

Numpy ndarrays are meant for all elements to have the same length. In this case, your second array doesn’t contain lists of the same length, so it ends up being a 1-D array of lists, as opposed to a “proper” 2-D array. From the Numpy docs on N-dimensional arrays: An ndarray is a (usually fixed-size) multidimensional … Read more

ImportError: DLL load failed: The specified module could not be found

(I found this answer from a video: http://www.youtube.com/watch?v=xmvRF7koJ5E) Download msvcp71.dll and msvcr71.dll from the web. Save them to your C:\Windows\System32 folder. Save them to your C:\Windows\SysWOW64 folder as well (if you have a 64-bit operating system). Now try running your code file in Python and it will load the graph in couple of seconds.

ImportError: DLL load failed: The specified module could not be found

(I found this answer from a video: http://www.youtube.com/watch?v=xmvRF7koJ5E) Download msvcp71.dll and msvcr71.dll from the web. Save them to your C:\Windows\System32 folder. Save them to your C:\Windows\SysWOW64 folder as well (if you have a 64-bit operating system). Now try running your code file in Python and it will load the graph in couple of seconds.