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
  Which app do I import to fix this error? ErnestTBass 6 347 Apr-26-2020, 08:43 PM
Last Post: snippsat
  Error while humansize module import. johnkgson 3 474 Apr-26-2020, 08:37 AM
Last Post: johnkgson
  Importing module from a package results in import error goghvv 2 285 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Python 2.7 Import error. Directory and filename conflict petcoo00 2 272 Feb-02-2020, 08:46 PM
Last Post: snippsat
  Error in python code 'import callbot' Lou_Reed 3 369 Jan-07-2020, 09:33 PM
Last Post: Clunk_Head
  import error (unknown location) pseudo 1 2,282 Nov-14-2019, 11:47 PM
Last Post: pseudo
  Nanpy import error Apretext 2 763 Apr-29-2019, 04:00 PM
Last Post: Apretext
  import module error german77 4 1,527 Feb-28-2019, 02:29 PM
Last Post: german77
  Running pytest gives " 'cannot import name 'session' " error jasonblais 2 1,158 Oct-10-2018, 05:02 PM
Last Post: jasonblais
  Import Error Bravoseeker 3 2,640 Oct-05-2018, 03:00 PM
Last Post: Larz60+

Forum Jump:

Users browsing this thread: 1 Guest(s)