
Running Python Behave tests
Running behave tests from a virtualenv, you get the following error:
File "/usr/local/bin/behave", line 5, in
from pkg_resources import load_entry_point
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2876, in
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 449, in _build_master
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 745, in require
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 639, in resolve
pkg_resources.DistributionNotFound: parse-type>=0.3.4
I fixed this issue by recreating my .virtualenv by using:
mkvirtualenv --no-site-packages .virtualenv