If executing pip with sudo, you may want sudo's -H flag.Īdd line to VagrantFile (line 123 in my vagrant file)Īnsible. check the permissions and owner of that directory. The directory '/xxx/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. If executing pip with sudo, you may want sudo's -H flag. Please check the permissions and owner of that directory. 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. Running sudo pip install ansible=2.7.5 through WSL doesn’t fix my problem. This happens through both Windows GitBash and through WSL. This hasn’t happened before on my other roots projects. I’m getting the exact same error running vagrant up for the first time on a new roots project on Windows 10. Requirement already satisfied: pycparser in. 1 Answer Sorted by: 9 Install pip for Python 2 by running sudo apt install python-pip pip for Python 2 and for Python 3 by running sudo apt install python3-pip pip for Python 3 I would discourage you from using easyinstall at all if possible to learn more, see the many great answers at. Requirement already satisfied: ipaddress python_version ansible) (1.0.22) Library/Python/2.7/lib/python/site-packages (from cryptography->ansible) (0.24.0) Requirement already satisfied: asn1crypto>=0.21.0 in. Requirement already satisfied: six>=1.4.1 in /System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python (from cryptography->ansible) (1.4.1) Library/Python/2.7/lib/python/site-packages (from cryptography->ansible) (1.12.3) Requirement already satisfied: cffi!=1.11.3,>=1.8 in. Requirement already satisfied: enum34 python_version ansible) (1.1.6) Library/Python/2.7/lib/python/site-packages (from paramiko->ansible) (1.3.0) Requirement already satisfied: pynacl>=1.0.1 in. Library/Python/2.7/lib/python/site-packages (from paramiko->ansible) (3.1.7) Requirement already satisfied: bcrypt>=3.1.3 in. Library/Python/2.7/lib/python/site-packages (from jinja2->ansible) (1.1.1) Requirement already satisfied: MarkupSafe>=0.23 in. Requirement already satisfied: setuptools in /System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python (from ansible) (18.5) Library/Python/2.7/lib/python/site-packages (from ansible) (2.7) I want my Python scripts that call such commands internally to also display this kind of friendly messages. Requirement already satisfied: cryptography in. Library/Python/2.7/lib/python/site-packages (from ansible) (2.6.0) Requirement already satisfied: paramiko in. Library/Python/2.7/lib/python/site-packages (from ansible) (5.1.1) Requirement already satisfied: PyYAML in. Library/Python/2.7/lib/python/site-packages (from ansible) (2.10.1) Requirement already satisfied: jinja2 in. Requirement already satisfied: ansible in. A future version of pip will drop support for Python 2.7. Please upgrade your Python as Python 2.7 won't be maintained after that date. Ansible -version doesn’t work even though “Requirement already satisfied” when installing it? jph-macbook:~ jonny$ pip install -user ansibleĭEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020.
0 Comments
Leave a Reply. |