Install the Ocean Software Developer Kit

Follow these instructions to access and install the Ocean SDK (Python).

We recommend that you work in a virtual environment. If you are new to Python in virtual environments, see our Getting Started guidelines in the Ocean software documentation.

Note: If you have a 64-bit Windows OS and are running 32-bit Python, see also Are 32-bit and 64-bit Python Supported?

Command-line install:

  1. To set up the required dependencies, run the following command from your terminal:
    pip install dwave-ocean-sdk && dwave config create
  2. Follow the script and paste your API token into your terminal when prompted. You can find your API token on the Leap Dashboard.
  3. You should now be able to connect to a D-Wave system. Verify with the following command: dwave ping.

Solve your own problems or begin with our end-to-end examples


Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request



Article is closed for comments.