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/", line 2876, in 
  File "build/bdist.macosx-10.9-x86_64/egg/", line 449, in _build_master
  File "build/bdist.macosx-10.9-x86_64/egg/", line 745, in require
  File "build/bdist.macosx-10.9-x86_64/egg/", 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

Author | Miles Davenport

Career programmer, who designs, assembles, fixes, and supports customers, software and systems.