When running Python setup in Windows VM fails with pip
See original GitHub issueDescription: We have matrix job which setups Python. For Linux and Mac that Python setup works fine, but for Windows host, there is error like this:
Successfully setup CPython (3.7.9)
C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pip.exe cache dir
Error: The process 'C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pip.exe' failed with exit code 3221225477
Action version:
actions/setup-python@v2
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version: 3.7, 3.8, 3.9
Repro steps:
Link to yaml definition and here is link to execution
Expected behavior: Python would be setup would have been completed without errors.
Actual behavior: There is error:
Successfully setup CPython (3.7.9)
C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pip.exe cache dir
Error: The process 'C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pip.exe' failed with exit code 3221225477
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
"pip install unroll": "python setup.py egg_info" failed with error ...
Open a command prompt in elevated mode (run as administrator) · Firstly do pip install ez_setup · Then do pip install unroll (It...
Read more >Python: Fix 'pip is not recognized' | Easy - YouTube
trying to install a new PyPi package, but are unable to get pip to work? Does python work? Well, this video should cover...
Read more >Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you haven't properly installed the package installer for Python (pip) on your computer.
Read more >How to Install PIP for Python on Windows - Liquid Web
Step 1: Check if Pip is Already Installed · Step 2: Confirm that Python is installed. · Step 3: Installing Pip on Windows...
Read more >Installing/Upgrading Nutanix Guest Tools on a Windows family ...
Check if Python is already installed in the system. NGT has its own Python version installed in C:\Program Files\Nutanix\Python27\python.exe.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, could be duplicate. Although my problems happens in setup phase.
But using
actions/setup-python@v2.3.2
fixes the problem, thank you.Yes, now it works. Thank you.