*Error*: psycopg2.OperationalError: could not translate host name
"localhost" to address: Name or service not known
*Solution*: Sometimes this error come just because that your LAN cable is
not connect to your system.
To resolve this problem connect your LAN cable to system then again run the
command.
You will find that its work Fine.
--
View this message in context: http://postgresql.nabble.com/Getting-error-while-starting-the-server-tp5838994p5893684.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.