You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 7, in <module>
from orion.core.io.experiment_builder import ExperimentBuilder
File "/Users/michaelpieper/anaconda/envs/orion.tutorial/lib/python3.6/site-packages/orion/core/io/experiment_builder.py", line 92, in <module>
from orion.core.io import resolve_config
File "/Users/michaelpieper/anaconda/envs/orion.tutorial/lib/python3.6/site-packages/orion/core/io/resolve_config.py", line 71, in <module>
('ORION_DB_ADDRESS', 'host', socket.gethostbyname(socket.gethostname()))
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
The hostname:
>>> socket.gethostname()
'Michaels-MBP-2’
>>> socket.gethostbyname(socket.gethostname())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
Why:
On OSX, hostnames cannot be interpreted by `gethostbyname()` (See Epistimio#165).
How:
If the hostname cannot be interpreted, set to `localhost` by default.
Why:
On OSX, hostnames cannot be interpreted by `gethostbyname()` (See Epistimio#165).
How:
If the hostname cannot be interpreted, set to `localhost` by default.
Why:
On OSX, hostnames cannot be interpreted by `gethostbyname()` (See #165).
How:
If the hostname cannot be interpreted, set to `localhost` by default.
From @mikepieper
Note: I don't know yet if this is related to #104
The error:
The hostname:
A solution could be to simply turn the default value to
None
whengethostbyname()
fails.The text was updated successfully, but these errors were encountered: