Closed ivanmladek closed 10 years ago
I'm not at a computer now. Can you make sure you are not running this from the install dir. cd to ~/ and try again opening up the python shell again.
On Sunday, 13 October 2013, Pavel Machalek wrote:
@mrtommyb https://github.com/mrtommyb it seems when running this code an import error happens: import ktransit
ImportError Traceback (most recent call last) /Users/pavel/temp/ktransit/ in () ----> 1 import ktransit
/Users/pavel/temp/ktransit/ktransit/init.py in () 5 unicode_literals) 6 ----> 7 from .ktransit import LCModel 8 from .ktransit import give_me_earth 9 from .fittransit import FitTransit
/Users/pavel/temp/ktransit/ktransit/ktransit.py in () 1 import numpy as np ----> 2 from _tmodtom import transitmodel 3 4 class LCModel(object): 5
ImportError: No module named _tmodtom
Is that package included with the code? I followed your instructions to the t.
— Reply to this email directly or view it on GitHubhttps://github.com/mrtommyb/ktransit/issues/1 .
Tom Barclay
E: barclay.astro@gmail.com
Solved, thank you.
@mrtommyb it seems when running this code an import error happens:
import ktransit
ImportError Traceback (most recent call last) /Users/pavel/temp/ktransit/ in ()
----> 1 import ktransit
/Users/pavel/temp/ktransit/ktransit/init.py in()
5 unicode_literals)
6
----> 7 from .ktransit import LCModel
8 from .ktransit import give_me_earth
9 from .fittransit import FitTransit
/Users/pavel/temp/ktransit/ktransit/ktransit.py in()
1 import numpy as np
----> 2 from _tmodtom import transitmodel
3
4 class LCModel(object):
5
ImportError: No module named _tmodtom
Is that package included with the code? I followed your instructions to the t.