kgullikson88 / Telluric-Fitter

Telluric fitting made easy
http://telfit.readthedocs.org/en/latest/
MIT License
20 stars 17 forks source link

how do I import it into my python script once it's installed? #3

Closed lvican closed 9 years ago

lvican commented 10 years ago

I tried opening python and typing "import TelluricFitter", but I get an error message:

import TelluricFitter Traceback (most recent call last): File "", line 1, in File "build/bdist.macosx-10.6-x86_64/egg/TelluricFitter.py", line 57, in ImportError: cannot import name minimize

Any suggestions?

kgullikson88 commented 10 years ago

Try typing in 'from scipy.optimize import minimize.' If that doesn't work, then try:

import scipy
print scipy.__version__

and let me know what version you have. You may need to upgrade your scipy.