You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I'm using Vagrant with Ansible-local provider and they are using get-pip-py to install pip and Ansible
Could you describe your issue in as much detail as possible?
During the last month I was using Vagrant with Ansible-local provider to do some automated test and all was working without issues but today I did a vagrant destroy and them a vagrant up and the my new VM not be provisioned. It means can not install Ansible because can not install pip because it looks you did a change that introduces a bug in get-pip-py (it looks other people got same problem for python 3):
curl https://bootstrap.pypa.io/get-pip.py | sudo python
Stdout from the command:
Stderr from the command:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1883k 100 1883k 0 0 894k 0 0:00:02 0:00:02 --:--:-- 895k
Traceback (most recent call last):
File "<stdin>", line 24226, in <module>
File "<stdin>", line 199, in main
File "<stdin>", line 82, in bootstrap
File "/tmp/tmpL73OKo/pip.zip/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
digitalfredy
changed the title
get-pip.py: SyntaxError: invalid syntax (last week was OK now KO)
SyntaxError: invalid syntax (last week was OK now KO)
Jan 27, 2021
To help us help you, please fill out as much of the following as you can. If a question is not relevant, feel free to skip it.
What is your operating system and version?
What is your Python version?
What version of pip do you have?
If following an online tutorial or guide, please provide a link to the page or section giving you trouble:
Could you describe your issue in as much detail as possible?
During the last month I was using Vagrant with Ansible-local provider to do some automated test and all was working without issues but today I did a
vagrant destroy
and them avagrant up
and the my new VM not be provisioned. It means can not install Ansible because can not install pip because it looks you did a change that introduces a bug in get-pip-py (it looks other people got same problem for python 3):When searching in duckduckgo I found that another person got same problem today but for Python 3.5: https://unix.stackexchange.com/questions/631244/why-does-get-pip-py-complain-about-invalid-syntax
The text was updated successfully, but these errors were encountered: