I’m trying to setup trellis for the first time but I keep getting the below error when I run vagrant up. Can someone please tell me what I am missing as I’ve installed everything that is mentioned in the docs below.
==> default: Running provisioner: ansible_local...
default: Installing Ansible...
default: Installing pip... (for Ansible installation)
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
pip install --upgrade ansible==2.7.5
Stdout from the command:
Stderr from the command:
bash: line 5: pip: command not found
I’m getting the exact same error running vagrant up for the first time on a new roots project on Windows 10. This hasn’t happened before on my other roots projects.
This happens through both Windows GitBash and through WSL.
Running sudo pip install ansible==2.7.5 through WSL doesn’t fix my problem.
These messages might be a clue:
The directory 'xxx/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/xxx/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.