Error in importing nengo-loihi1.0.0 on new environment of INRC cloud

Hi @kfujimoto, and welcome to the Nengo forums. :smiley:

The most recent release of NengoLoihi does not yet support NxSDK 1.0.0. In order to use NengoLoihi with NxSDK 1.0.0 support, you’ll need to check out a development version of NengoLoihi:

In your Python environment, do:

git clone https://github.com/nengo/nengo-loihi/
cd nengo-loihi
git checkout nxsdk100
pip install -e .

It is advisable you create a new python environment to make this installation change, just to ensure that any files from the old NengoLoihi install do not interfere with the updated installation.

Note, when I test the environment, I got these warnings:

>>> import nengo_loihi
/homes/xchoo/git/nxsdk-1.0.0/nxsdk/compiler/microcodegen/ProductSeries.py:64: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if const is not 0:
/homes/xchoo/git/nxsdk-1.0.0/nxsdk/compiler/microcodegen/Operations.py:260: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif p.numFactors == 0 and p.destination is not 'w':
/homes/xchoo/git/nxsdk-1.0.0/nxsdk/compiler/microcodegen/Operations.py:275: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif p.numFactors == 1 and p.destination is not 'w':
/homes/xchoo/git/nxsdk-1.0.0/nxsdk/compiler/microcodegen/Operations.py:348: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if p.numFactors == 1 and p.destination is not 'w':

These seem to originate within the NxSDK code, so you’ll have to message Intel about that.