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
Updating import instructions for scipy, sklearn - issue #848 #891
This PR is addressing the issue #848, which notes that you have import sklearn before nest, as well as scipy. This is not a fix but just a documentation change to make people aware of it. I added a comment to the PyNEST tutorial regarding the import order of both scipy and sklearn. Additionally, I added a line to indicate the import order (wrt scipy) in the CampbellSiegert example, since it was the only example that used scipy that did not explicitly mention the order needed.
I would like to make sure that the
scipy bug really still exists... based on what @jougs said during the VC, it should not (and does not on my computer).
sklearn, they use lazy import so we would need to import all the submodules to fix it. While not hard, it is not elegant and I don't now if it is reasonnable. I am currently investigating the segfault to see whether a nice solution exists.