probably mixing 1.9 and 2.0 files, `make clean` should get rid of any
files not of the current branch, use that before using the env-setup
script again.
I did a ‘make clean’ and this doesn’t fix the issue. Again this a clean checkout into a new directory. I should have mentioned I do have 1.9.4 installed on my machine. Could that be causing the issue?
We have seen some scenarios where easy_install (and modules installed with easy_install) created an easy-install.pth file that was causing the PYTHONPATH to get paths inserted in front of those created by the hacking script.
As such, it would end up importing files from other ansible installations.
After running the hacking script, if you run the following command, it should show you those search directories:
python -c ‘import sys; print sys.path’
If you see any site-packages, dist-packages, or maybe .egg paths before the ansible source directories, this is likely the cause.