New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No module named 'msvcrt'" on Ubuntu 20.04 self-hosted runner #289
Comments
how was it? I have a same problem there |
I am also facing the same issue… |
same and im using on Ubuntu 20.04 |
Hello @mikedalton, As a quick workaround, please try your workflow avoiding AGENT_TOOLSDIRECTORY at all. See the sample build to understand what i mean: https://github.com/akv-platform/python-msvcrt/runs/5880925955?check_suite_focus=true Despite it works or does not, please describe your current setup in order we could improve the documentation
yes/no? WARN: you may face |
Hello @mikedalton, |
Hello @mikedalton |
Description:
When following instructions to set up an Ubuntu 20.04 self-hosted runner's tool cache with Python 3.10, subsequently running a workflow that checks out the repo, sets up python, sets up the
scottbrenner/cfn-lint-action@v2
action, and then runscfn-lint --version
results in the following error:Deploying the Python tool cache into the Actions runner client's
_work/_tool
directory results in a successful run ofcfn-lint --version
, but then with other workflows encounters errors building Docker containers.Action version:
actions/setup-python@v2
Platform:
Runner type:
Tools version:
3.10 (others untested)
Repro steps:
As per
setup-python
instructions for deploying to hosted tool cache on Linux, copy and extract artifact to/opt/hostedtoolcache/
Attempt to run the following workflow:
Expected behavior:
Successful run of second workflow, with an output similar to the following:
Actual behavior:
Receive output similar to the following:
The output is very unusual, as it references module
msvcrt
(Microsoft VC++ runtime), despite nothing in the workflow, Python build, or Actions runner involving Windows or the VC++ runtime.The text was updated successfully, but these errors were encountered: