dwave-ocean-sdk icon indicating copy to clipboard operation
dwave-ocean-sdk copied to clipboard

Pyqubo build problem

Open JoelPasvolsky opened this issue 5 years ago • 2 comments

Description pip install dwave-ocean-sdk currently has an error for pyqubo:

Building wheels for collected packages: pyqubo
  Running setup.py bdist_wheel for pyqubo ... error
  Complete output from command /home/jpasvolsky/Work/MyVirtualEnvironments/sdk/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ccq8ac0/pyqubo/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpcxx1xvnkpip-wheel- --python-tag cp35:
  /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  
  error: invalid command 'bdist_wheel'
  
  ----------------------------------------
  Failed building wheel for pyqubo
  Running setup.py clean for pyqubo
Failed to build pyqubo

To Reproduce pip install dwave-ocean-sdk

Expected behavior No error

Environment:

  • OS: Ubuntu 16.0
  • Python version: 3.5

Additional context Add any other context about the problem here.

JoelPasvolsky avatar Feb 11 '20 16:02 JoelPasvolsky

I think you're just missing wheel, https://pypi.org/project/wheel/

arcondello avatar Feb 11 '20 16:02 arcondello

Current installation requirements for dwave-ocean-sdk do not include installing wheel.

JoelPasvolsky avatar Feb 11 '20 16:02 JoelPasvolsky