My setup: Windows 10 64 bit (including all patches) QGIS 3.0.0-Girona
My issue: Installing numba not working
why: I want to use GPU to process my python scripts
Details: I followed the following:
- OSGeo4W: typed "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py"
- OSGeo4w: typed "python get-pip.py"
- OSGeo4w: typed "python -m pip install numba"
- OSGeo4W: typed again "python -m pip install numba" and get...
Requirement already satisfied: numba in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages
Requirement already satisfied: funcsigs in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from numba)
Requirement already satisfied: singledispatch in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from numba)
Requirement already satisfied: numpy in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from numba)
Requirement already satisfied: llvmlite>=0.22.0.dev0 in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from numba)
Requirement already satisfied: enum34 in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from numba)
Requirement already satisfied: six in c:\progra~1\qgis3~1.0\apps\python27\lib\site-packages (from singledispatch->numba)
- OSGeo4w: typed "python" and from prompt typed "import numba" *no issues
- QGIS python plugin: typed "import numba" and get...
import numba
Traceback (most recent call last): File "C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/QGIS3~1.0/apps/qgis/./python\qgis\utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'numba'
I'm I doing something wrong here? If I install numba in OSGeo4W, is that supposed to be represented in QGIS?
From OSGeo4W, from...
import numba
print(numba.__version__)
I get 0.37.0
Requirement already satisfied: numba in c:\progra~1\qgis3~1.0\apps\**python27**\lib\site-packages
. Usepip3 install numba
instead