The entire output message I get, irrespective of whether I do it with pip
or pip3
, or in PowerShell
or bash
, or with or without --user
, is:
PS C:\Users\user> pip install ansible --user
Collecting ansible
Using cached ansible-4.0.0.tar.gz (33.3 MB)
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-i5a881am\\ansible_79b10d1774894f28be88e26c8c0385cb\\ansible_collections/amazon/aws/tests/unit/plugins/modules/placebo_recordings/cloudformation/client_request_token_s3_stack/cloudformation.CreateStack_1.json'
Thanks to @Zeitounator's comment to my OP, I could finally install ansible
on Windows10 WSL
correctly using this link.
It is essential to stress here that for achieving this one needs to install bash CLI
(or rather Windows10 WSL).