Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run python build.py, but build failed #2593

Closed
sunxx1024 opened this issue Jun 27, 2019 · 8 comments
Closed

run python build.py, but build failed #2593

sunxx1024 opened this issue Jun 27, 2019 · 8 comments

Comments

@sunxx1024
Copy link

Exception in thread Thread-3:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "build.py", line 204, in run
self.gen_core()
File "build.py", line 245, in gen_core
self.do_compile(params, target_filename, filenames, "")
File "build.py", line 337, in do_compile
conn.request("POST", "/compile", urlencode(params), headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in request
self._send_request(method, url, body, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1093, in _send_request
self.endheaders(body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders
self._send_output(message_body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output
self.send(msg)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send
self.connect()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1266, in connect
HTTPConnection.connect(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 832, in connect
self.timeout, self.source_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 575, in create_connection
raise err
error: [Errno 60] Operation timed out

@RoboErikG
Copy link
Contributor

The server didn't respond. You can either try again or check that Google isn't blocked where you're at. Please check back in on the forums if you're still having issues.

@jobsFu
Copy link

jobsFu commented Jul 16, 2019

@jersun hi jersun, I have the same problem as you. Have you solved it ?

@sunxx1024
Copy link
Author

@jobsFu Yes, it is caused by network restrictions.

@PeaceInDream
Copy link

@jobsFu Yes, it is caused by network restrictions.

What about network restrictions ? Do you have any good ideas?

@sunxx1024
Copy link
Author

找个境外的服务器,代码放境外python build.py就过了,看你的头像应该能看懂中文。有问题再联系

@PeaceInDream
Copy link

@jersun 哎,妈呀,早说啊!我还在对着有道翻译来翻译去的……加个联系方式微信:15800683771

@rachel-fenichel
Copy link
Collaborator

You can also use the local build script: local_build/local_build.sh

@vkboo
Copy link

vkboo commented Oct 22, 2019

找个境外的服务器,代码放境外python build.py就过了,看你的头像应该能看懂中文。有问题再联系

我发现只需要用小飞机,开全局代理就行了,已经成功哈哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants