nengo-loihi icon indicating copy to clipboard operation
nengo-loihi copied to clipboard

HAS_NXSDK can be false even when nxsdk is installed

Open hunse opened this issue 5 years ago • 1 comments

I think the main way for this to happen is if our snip_maker import fails.

We should move the snip_maker import into the if HAS_NXSDK block below where we do other sub-imports within nxsdk. We can wrap it in its own try block there if we want (to just not do the snip_maker monkeypatch if its not there), or just fail completely, but at least then it would be clear why things aren't working.

hunse avatar Oct 16 '19 13:10 hunse

I think I encountered this when using an inappropriate NxSDK version, which didn't have snip_maker.

hunse avatar Oct 29 '19 16:10 hunse