0

I've just started using glumpy and I keep having an error.

As far as I could find out there is a problem in ctypes module. apparently the ctype module is trying to load a dll file and it can't for a reason. the peace of code I've written is as follow.

from glumpy import app,gl,gloo
app.use("glfw")
window = app.Window()

The error I keep having is as follows:

    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

I've tried finding the dll file directory but I don't know from where it is trying to load that dll file

  • These modules aren't built-in you have to install it through `pip`. The reason why you are getting the error because the module isn't installed. – Roshan Jun 25 '19 at 15:17
  • I had installed all the needed modules. which module do you mean? – Mehran BaghGolshani Jun 25 '19 at 15:19
  • I found the problem.. The problem is that your code is trying to load a dll which failed. More info can be found here https://stackoverflow.com/questions/1940578/windowserror-error-126-the-specified-module-could-not-be-found – Roshan Jun 25 '19 at 15:24
  • Possible duplicate of https://stackoverflow.com/questions/1940578/windowserror-error-126-the-specified-module-could-not-be-found – Roshan Jun 25 '19 at 15:26
  • but in this case, I don't know where is that `.dll` file and how can I fix it. `glumpy` is probably calling `cytpes` and `ctypes` is calling the dll directory and the dll directory has some issues. I don't know what to do to fix my problem. should I edit ctypes code? – Mehran BaghGolshani Jun 26 '19 at 05:02

0 Answers0