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

'module' object has no attribute 'ModelParams' #13

Open
prajwal309 opened this issue Feb 18, 2018 · 4 comments
Open

'module' object has no attribute 'ModelParams' #13

prajwal309 opened this issue Feb 18, 2018 · 4 comments

Comments

@prajwal309
Copy link

I have installed and can successfully import the module. But I get error on the first next line: spider_params = sp.ModelParams(brightness_model="zhang").

@lkreidberg
Copy link
Collaborator

Hi Prajwal, can you please describe the error in more detail?

@prajwal309
Copy link
Author

Hi Laura, oops, I forgot to mention the exact error. I pip installed spiderman, and have following two lines of code:

import spiderman as sp
spider_params = sp.ModelParams(brightness_model='zhang')

I can import the library successfully but the next line gives me an error:
spider_params = sp.ModelParams(brightness_model='zhang')
AttributeError: 'module' object has no attribute 'ModelParams'

@tomlouden
Copy link
Owner

Hi Prajwal, the pip version is currently quite a long way behind the git version - sorry about that, I plan to do another "official" release on there shortly. In the meantime, could you try with the current github version?
Cheers,
Tom

@prajwal309
Copy link
Author

Thanks for the response.

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

No branches or pull requests

3 participants