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

ImportError: cannot import name MEV_TO_ERG #50

Closed
NerNa opened this issue Oct 16, 2013 · 3 comments
Closed

ImportError: cannot import name MEV_TO_ERG #50

NerNa opened this issue Oct 16, 2013 · 3 comments

Comments

@NerNa
Copy link

NerNa commented Oct 16, 2013

Hi,

After <> I get this error
<<Traceback (most recent call last):
File "/opt/enrico/bin/enrico_lc", line 4, in
import enrico.lightcurve as lc
File "/opt/enrico/enrico/lightcurve.py", line 7, in
from enrico import plotting
File "/opt/enrico/enrico/plotting.py", line 7, in
from enrico.constants import MEV_TO_ERG, ERG_TO_MEV
ImportError: cannot import name MEV_TO_ERG >>

when I use enrico_sed or enrico_lc.

should I fix something else ?
Thank you !

@davidsanchez
Copy link
Member

Hi,

directly importing the modules in python I get

import enrico.lightcurve as lc
from enrico.constants import MEV_TO_ERG, ERG_TO_MEV

no error..

So could you provide us more details?

best

@NerNa
Copy link
Author

NerNa commented Oct 16, 2013

thanks for the replay.
Directly importing the modules in python helped to solve the problem,

sorry for the disturb,
Best

@cdeil
Copy link
Contributor

cdeil commented Oct 25, 2013

@NerNa Closing this issue ... if you still have a problem with this, please re-open.

For the future: please also paste the commands you ran that resulted in the error. Then we can try to re-produce the problem and investigate better.

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