[英]nodename nor servname provided, or not known
I get this Python error 我收到这个Python错误
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
FINISHED
When I try to create the bulkoader.yaml file for a Google App Engine datastore on Mac Os Mavericks, Python 2.7 当我尝试为Mac Os Mavericks上的Google App Engine数据存储创建bulkoader.yaml文件时,Python 2.7
Are you on a VPN by chance. 您是否偶然在VPN上。 There is an issue on MacOS with several VPN clients that can cause this error.
在MacOS上,带有多个VPN客户端的问题可能导致此错误。 Especially if it is trying to determine your local machines name.
特别是如果它正在尝试确定您的本地计算机名称。 It goes way for me if I sign off of my work VPN, or add the machines host name to the /etc/hosts file.
如果我退出我的工作VPN,或者将机器的主机名添加到/ etc / hosts文件中,这对我来说就很顺利。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.