21207986 / agpy

Automatically exported from code.google.com/p/agpy
MIT License
0 stars 0 forks source link

mpfit dependency issues #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install agpy on system without mpfit
2. try python -c "import agpy"
Result:
ImportError: No module named mpfit

For some reason, the mpfit.py is not installed - although mpfit_custom.py *is*. 
Note these files are different.

I will now try installing mpfit separately from 

http://code.google.com/p/astrolibpy/downloads/

-Tim

Original issue reported on code.google.com by TimStale...@gmail.com on 7 Mar 2012 at 7:02

GoogleCodeExporter commented 8 years ago
I'm looking into this (I don't know why importing agpy is also trying to import 
mpfit), but mpfit is included with agpy.

Original comment by keflavich on 7 Mar 2012 at 7:16

GoogleCodeExporter commented 8 years ago
@Tim - Thanks for catching this error.   It definitely shouldn't have happened; 
there needed to be absolute instead of relative imports in a lot of places.  
Anyway, it's been fixed, and there's a new release on pypi (0.1.2) that should 
work.

Original comment by keflavich on 7 Mar 2012 at 7:35

GoogleCodeExporter commented 8 years ago
Thanks, seems to work great now. However, I think you forgot to include a 
'CHANGES' file in the install package on pypi!

Original comment by TimStale...@gmail.com on 9 Mar 2012 at 3:04