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

Cannot run the project #4

Open
elopezsa opened this issue Jun 23, 2017 · 1 comment
Open

Cannot run the project #4

elopezsa opened this issue Jun 23, 2017 · 1 comment

Comments

@elopezsa
Copy link

When I try run the projects (run command line: behave or behave features/twitter.feature) my promt shows the log above:

Exception ImportError: No module named yaml Traceback (most recent call last): File "/usr/local/bin/behave", line 11, in <module> sys.exit(main()) File "/Library/Python/2.7/site-packages/behave/__main__.py", line 109, in main failed = runner.run() File "/Library/Python/2.7/site-packages/behave/runner.py", line 672, in run return self.run_with_paths() File "/Library/Python/2.7/site-packages/behave/runner.py", line 677, in run_with_paths self.load_hooks() File "/Library/Python/2.7/site-packages/behave/runner.py", line 631, in load_hooks exec_file(hooks_path, self.hooks) File "/Library/Python/2.7/site-packages/behave/runner.py", line 304, in exec_file exec(code, globals, locals) File "features/environment.py", line 1, in <module> from yaml import load ImportError: No module named yaml

Any idea?

@onikiforov
Copy link

My fault, I didn't add PyYAML into requirements. Try to run pip install pyyaml and then rerun tests.

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

2 participants