I’m also getting this issue. I’ve even tried adding a deactivate step before pyenv global 2.7.10 to make sure the script exits the virtualenv. I also noticed that Circle was automatically installing fabric during the dependencies step, so I’ve overridden that.
Oddly if I do the steps manually via ssh debug everything works fine. I’m not sure why.
if you’re defining Python in you Machine config CirlcCI runs every line in your yml inside a virtualenv. So if you want to install something outside of the virtualenv you need to add a deactivate on the same line as your pip install like so: