Install issues with D-Wave Ocean on Mac
I'm encountering the following errors when installing on a mac -- python, pip, virtualenv all installed -- any assistance would be greatly appreciated - thanks in advance:
virtualenv ocean
New python executable in /Users/CT15/ocean/ocean/bin/python
Installing setuptools, pip, wheel...done.
(ocean) McKinley:ocean CT15$ source ocean/bin/activate
(ocean) McKinley:ocean CT15$ pip install dwave-ocean-sdk
Collecting dwave-ocean-sdk
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10df6eb50>: Failed to establish a new connection: [Errno 64] Host is down',)': /simple/dwave-ocean-sdk/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10df6ef90>: Failed to establish a new connection: [Errno 64] Host is down',)': /simple/dwave-ocean-sdk/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10df95110>: Failed to establish a new connection: [Errno 64] Host is down',)': /simple/dwave-ocean-sdk/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10df95250>: Failed to establish a new connection: [Errno 64] Host is down',)': /simple/dwave-ocean-sdk/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10df95390>: Failed to establish a new connection: [Errno 64] Host is down',)': /simple/dwave-ocean-sdk/
Could not find a version that satisfies the requirement dwave-ocean-sdk (from versions: )
No matching distribution found for dwave-ocean-sdk
Comments
Hi Cynthia
I am sorry you're having installation trouble - we're looking into it. In the meantime, what is your version of MacOS and of Python?
macOS = 10.13.6 (High Sierra) Python = 2.7.10 (installed as base in the OS)
Hi again
It looks like you're having trouble getting to the PyPi server. Could you try again in case it's just a temporary network issue? Otherwise, is it possible that your organization has blocked access?
Excellent suggestion -- Our network monitor is blocking access to pypi.org for the following reason:
We're trying to fix the network monitor to allow the connection to occur but there is a baseline code signature somewhere that is not correct for dwave-ocean-sdk.
Will continue to try and will report back - thanks for the quick followup!
That worked -- can you please verify this is a good response?
dwave ping
Using endpoint: https://cloud.dwavesys.com/sapi
Using solver: DW_2000Q_2
Wall clock time:
* Solver definition fetch: 972.360 ms
* Problem submit and results fetch: 4333.511 ms
* Total: 5305.871 ms
QPU timing:
* total_real_time = 10197 us
* anneal_time_per_run = 20 us
* post_processing_overhead_time = 387 us
* qpu_anneal_time_per_sample = 20 us
* readout_time_per_run = 123 us
* qpu_delay_time_per_sample = 21 us
* qpu_sampling_time = 164 us
* total_post_processing_time = 387 us
* qpu_programming_time = 7604 us
* run_time_chip = 164 us
* qpu_access_time = 10197 us
* qpu_readout_time_per_sample = 123 us
(ocean) McKinley:ocean CT15$
This looks good, Cynthia! Glad you've been able to complete the install.
Please sign in to leave a comment.