Can't build on debian:stable or ubuntu:xenial in docker
Opened this issue · 1 comments
ayumi commented
-
Fresh docker run of
debian:stable
orubuntu:xenial
-
Installed
curl git-core build-essential python
-
Followed building.md verbatim
-
Fails at
anvil serve
:
ayu@6179eddce8db:~/tracing-framework$ anvil serve -p 8080
Traceback (most recent call last):
File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/manage.py", line 327, in <module>
anvil.manage.main()
File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 312, in main
cwd=os.getcwd())
File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 191, in run_command
return command.execute(parsed_args, cwd)
File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 68, in execute
self._launch_http_server(args.http_port, cwd)
File "/home/ayu/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 85, in _launch_http_server
from twisted.internet import reactor
ImportError: No module named twisted.internet
pip install twisted
doesn't fix this.
- Also fails
anvil build
.
stevenhoving commented
you have to activate the virtual environment before you can actually install twisted in the correct way. I think this problem is there because an old version of twister part of the anvil-build dependencies.
https://github.com/google/anvil-build/blob/69f95c942706fa3cc4061ffd8cb0506ef1b277a8/setup.py#L43
see issue google/anvil-build#14