Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip aotools package dependency issue (numba) #59

Closed
joncox123 opened this issue Aug 9, 2020 · 2 comments
Closed

pip aotools package dependency issue (numba) #59

joncox123 opened this issue Aug 9, 2020 · 2 comments
Labels

Comments

@joncox123
Copy link

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
'

@matthewtownson
Copy link
Member

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.

@matthewtownson
Copy link
Member

Fixed in v1.0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants