python引入jit_从numba导入jit
所以我試圖從numba庫中導入jit,但是這個導入產生了一個OSError,并說找不到特定的模塊。
我試圖卸載并重新安裝numba,但它沒有改變任何東西,我也沒有其他辦法來解決這個問題。在
以下是完整的錯誤:Traceback (most recent call last):
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\llvmlite\binding\ffi.py", line 42, in
lib = ctypes.CDLL(os.path.join(_lib_dir, _lib_name))
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\ctypes\__init__.py", line 350, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Le module spécifié est introuvable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/Users/user65/HypotheseDecoupageReseau/CalculInfluence.py", line 6, in
from numba import jit
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\numba\__init__.py", line 11, in
from . import config, errors, runtests, types
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\numba\config.py", line 11, in
import llvmlite.binding as ll
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\llvmlite\binding\__init__.py", line 6, in
from .dylib import *
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\llvmlite\binding\dylib.py", line 4, in
from . import ffi
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\site-packages\llvmlite\binding\ffi.py", line 47, in
lib = ctypes.CDLL(_lib_name)
File "D:\Users\user65\Logiciels\WinPython-64bit-3.4.4.6Qt5\python-3.4.4.amd64\lib\ctypes\__init__.py", line 350, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Le module spécifié est introuvable
Process finished with exit code 1
感謝您的幫助:)
總結
以上是生活随笔為你收集整理的python引入jit_从numba导入jit的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python中如何定义一个数组_Pyth
- 下一篇: 怎么利用迭代器写入mysql_流迭代器实