Installation problem on a Mac
Hello!
Can you help me with the installation of ocean sdk on a Mac?
I created a virtual environment, however when I call in a terminal dwave setup it says that command dwave has not found?
what do I need to do to resolve this issue?
Thank you!
Comments
Hello,
After you create a virtual environment you need to install the Ocean Tools using pip.
Please take a look at the Installing Ocean Tools section of the Getting Started guide for more details.
hello! thank you for your quick reply!
I created virtual environment ocean and after
then when I call in a terminal dwave setup or wave install I still have the following problem:
zsh: command not found: dwave
Did you activate your virtual environment before installing D-Wave Ocean Tools?
Can you please give the exact list of steps to reproduce the issue and some more details about your Operating System and Python version?
Thank you for your patience and coordination.
Hello!
Python version on my laptop is 3.9.6 and laptop itself is: MacBook Pro M2, macOS: Venture 13.5.1
First I created virtual environment : python3 -m venv ocean
source ocean/bin/activate
(ocean) gulzhanutessova@Gulzhans-MacBook-Pro ~ % pip install dwave-ocean-sdk
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rectangle-packer
Failed to build rectangle-packer
ERROR: Could not build wheels for rectangle-packer, which is required to install pyproject.toml-based projects
(ocean) gulzhanutessova@Gulzhans-MacBook-Pro ~ % dwave setup
zsh: command not found: dwave
Hello,
It looks like the rectangle-packer library is not up-to-date for the newest Mac OS version.
Unfortunately this is not one of our libraries so we will need to wait for it to be updated.
If you would like, you can submit an upgrade request to the library owner, which might expedite the process.
Thanks for your understanding and interest.
Please sign in to leave a comment.