No module named dwave_sapi2.remote

Hello,

 

I am trying to run the `02-rbm-adder` notebook locally on a Mac and 

 

```

from dwave_bm.rbm import BM

```

 

is failing because a couple of modules down, we get an `ImportError` on `dwave_sapi2`. I installed the Ocean SDK and have been able to run (at least some of) the examples in the documentation. I also ran the `01-embedding` notebook just fine. Of course, things run okay on the notebook server in Leap.

Thanks for any thoughts!

 

pax
Gabe

 

0

Comments

5 comments
  • Actually, I should mention that while I can get past the initial imports in the notebook server, the whole notebook won't run because it is on a read-only filesystem.

    0
    Comment actions Permalink
  • Some progress. I found `dwave-sapi2` elsewhere on the D-wave site (it does not come with the Ocean SDK).

    However, _now_ the failure when trying to run the notebook is an ImportError on `orang`.

    0
    Comment actions Permalink
  • Where did you find the 01-embedding and 02-rbm-adder notebooks? The only two notebooks I see through Leap are for factoring and structural imbalance. I presume you are looking at something about restricted Boltzmann machines?

    1
    Comment actions Permalink
  • Hi Gabriel,

    Users who have custom contracts with D-Wave may see Jupyter notebooks that are not yet available to the broader Leap community. These notebooks are in the process of being updated to use the Ocean software instead of the SAPI libraries you've mentioned.

    In the meantime, you can use your existing D-Wave support channels if you have questions about these notebooks.

    Thanks!

    Fiona

     

    2
    Comment actions Permalink
  • Hi Fiona,

    Thanks for the explanation. I'll keep an eye out.

     

    Thanks!

    pax
    Gabe

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post