I did a 'pip install aotools', but after testing with 'import aotools', I received the error shown below. The solution was to do a 'pip install numba'. However, shouldn't this dependency be corrected with the pip package?
Python 3.7.5 (default, Nov 7 2019, 10:50:52)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import aotools
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/aotools/init.py", line 1, in
from . import astronomy, functions, image_processing, wfs, turbulence, opticalpropagation
File "/usr/local/lib/python3.7/dist-packages/aotools/turbulence/init.py", line 2, in
from .infinitephasescreen import *
File "/usr/local/lib/python3.7/dist-packages/aotools/turbulence/infinitephasescreen.py", line 418, in @numba.jit(nopython=True, parallel=True)
AttributeError: 'NoneType' object has no attribute 'jit'
Yes, this is a missing dependency for aotools now. Thanks for pointing this out, we will update the dependencies in the next week or so to prevent others from running into the same issue.
I did a 'pip install aotools', but after testing with 'import aotools', I received the error shown below. The solution was to do a 'pip install numba'. However, shouldn't this dependency be corrected with the pip package?
Python 3.7.5 (default, Nov 7 2019, 10:50:52) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.