Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Virtual ENV does not have supporting package #14

Open
jtkirk-1 opened this issue May 17, 2015 · 0 comments
Open

Virtual ENV does not have supporting package #14

jtkirk-1 opened this issue May 17, 2015 · 0 comments

Comments

@jtkirk-1
Copy link

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

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

No branches or pull requests

1 participant