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
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
I was trying to get Anvil running on my Mac and it failed to run. The issue is when a virtual ENV is created, the new ENV does not have all of the libraries e.g. twisted.internet. I modified my local third_party/anvil-build/setup-local.sh file to have the following line modified:
With the updated file and newly generated ENV, I was able to get Anvil to start up. Without the update, I got the following error message:
Traceback (most recent call last):
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/manage.py", line 327, in
anvil.manage.main()
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 312, in main
cwd=os.getcwd())
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 191, in run_command
return command.execute(parsed_args, cwd)
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 68, in execute
self._launch_http_server(args.http_port, cwd)
File "/Users/captain/jl/src/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
The text was updated successfully, but these errors were encountered:
I was trying to get Anvil running on my Mac and it failed to run. The issue is when a virtual ENV is created, the new ENV does not have all of the libraries e.g. twisted.internet. I modified my local third_party/anvil-build/setup-local.sh file to have the following line modified:
virtualenv --system-site-packages $DIR/local_virtualenv
With the updated file and newly generated ENV, I was able to get Anvil to start up. Without the update, I got the following error message:
Traceback (most recent call last):
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/manage.py", line 327, in
anvil.manage.main()
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 312, in main
cwd=os.getcwd())
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/../anvil/manage.py", line 191, in run_command
return command.execute(parsed_args, cwd)
File "/Users/captain/jl/src/tracing-framework/third_party/anvil-build/anvil/commands/serve_command.py", line 68, in execute
self._launch_http_server(args.http_port, cwd)
File "/Users/captain/jl/src/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
The text was updated successfully, but these errors were encountered: