Bottom Page

Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 error in import numba
When I am trying to run python file .py that uses numba it gives me the below error
  Traceback (most recent call last):
 File "C:\", line 16, in <module>
 import myfile2 as m
 File "C:\", line 8, in <module>
  import numba
  File "C:\Python27\lib\site-packages\numba\", line 9, in <module>
  from . import config, errors, runtests, types
  File "C:\Python27\lib\site-packages\numba\", line 11, in <module>
  import llvmlite.binding as ll
  File "C:\Python27\lib\site-packages\llvmlite\binding\", line 6, in <module>
  from .dylib import *
  File "C:\Python27\lib\site-packages\llvmlite\binding\", line 4, in <module>
  from . import ffi
  File "C:\Python27\lib\site-packages\llvmlite\binding\", line 50, in <module>
   raise e
  WindowsError: [Error 126] The specified module could not be found
I've tried to uninstall llvmlite and numba and reinstall them but the same error appear

I used numba in my .py file as below

from numba import jit
at functions for example
@jit(nopython=True, nogil=True)
         def lanes_ransac_select_best(X1, y1, X2, y2,
                             w1_prefits, w2_prefits,
                             residual_threshold, post_fit):
126 error is what you get when a dependent DLL cannot be found.

If your using Anaconda, i googled another person having the same issue that fixed it by reinstalling Anaconda.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  import error (unknown location) pseudo 1 149 Nov-14-2019, 11:47 PM
Last Post: pseudo
  Nanpy import error Apretext 2 422 Apr-29-2019, 04:00 PM
Last Post: Apretext
  import module error german77 4 564 Feb-28-2019, 02:29 PM
Last Post: german77
  Running pytest gives " 'cannot import name 'session' " error jasonblais 2 694 Oct-10-2018, 05:02 PM
Last Post: jasonblais
  Import Error Bravoseeker 3 1,581 Oct-05-2018, 03:00 PM
Last Post: Larz60+
  module import error bobsmith76 4 819 Sep-18-2018, 03:41 AM
Last Post: bobsmith76
  Invalid Syntax Error on Import arjunsingh2908 3 4,941 Jul-07-2018, 05:02 PM
Last Post: ichabod801
  Import error when trying to import DDE (part of PyWin32) fbicalho 0 1,113 Apr-21-2018, 07:26 PM
Last Post: fbicalho
  python import sybpydb error: DLL load failed: The specified module could not be found andieDu 3 2,448 Apr-04-2018, 06:58 AM
Last Post: Larz60+
  CSV unable to import (traceback error) learnermarx 3 2,106 Feb-09-2018, 03:24 PM
Last Post: buran

Forum Jump:

Users browsing this thread: 1 Guest(s)