Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem with spherical harmonics computations on some Anaconda python versions #852
I am unable to run CSD models in Python 3.4 that were working fine for Python 2.7. In both cases I am at
For example, I get the following traceback from
I tracked the source of the error to a bad output from
From the discussion here (scipy/scipy#5376), it seems the problem is specific to Anaconda, so I don't think there is anything you need to fix on the
Hi Gregory, thank you very much the excellent feedback on this. Our Python 3.4 bots look good http://nipy.bic.berkeley.edu/builders and our Travis bots are all green on 3.4 too. https://travis-ci.org/nipy/dipy/builds/105693106 So, I am quite positive that this is an installation/packaging issue with Anaconda thing and it will most likely resolve itself.
referenced this issue
Feb 3, 2016
I don't think this has been fixed yet. I'm thinking it might be nice to introspect, and if the user is on Python 3 and scipy is from conda, use the "old" version of spherical_harmonics from here: https://github.com/nipy/dipy/blob/master/dipy/reconst/shm.py#L160
Anyone know how we can tell if scipy is from conda?