Github Action Fails To Install Python Stack Overflow

by dinosaurse
Github Action Fails To Install Python Stack Overflow
Github Action Fails To Install Python Stack Overflow

Github Action Fails To Install Python Stack Overflow I'm quite new in setting github ci pipelines, i'm trying to set a github action that firstly installs python, but it always fails at this stage. here is my .yml action file:. If unable to find a specific version in the tool cache, the action will attempt to download a version of python from github releases and for pypy from the official pypy's dist.

Github Actions Setup Python Stopped Working Stack Overflow
Github Actions Setup Python Stopped Working Stack Overflow

Github Actions Setup Python Stopped Working Stack Overflow The gist of the problem is that the setup.py script is failing because python apparently can't import the "numpy" module, even though numpy is specified in the requirements.txt file, and even when it's also explicitly imported just prior to running setup.py. (the setup is "ubuntu latest".). My github actions workflows have been running perfectly for the past year, however they started failing at around 6am cst today. actions running prior to 6am worked as expected. Is it possible to provide us with a public repository for further investigation? there is a documentation in the repository that may help you resolve the issue, please take a look: using setup python with a self hosted runner using setup python on ghes this documentation can be helpful as well. You can no longer download the python version from the task if it does not exist on the agent. you will have to have the python version that you need to use installed in the tools directory of the agent, and then specify that version from the python task.

Github Actions Setup Python Stopped Working Stack Overflow
Github Actions Setup Python Stopped Working Stack Overflow

Github Actions Setup Python Stopped Working Stack Overflow Is it possible to provide us with a public repository for further investigation? there is a documentation in the repository that may help you resolve the issue, please take a look: using setup python with a self hosted runner using setup python on ghes this documentation can be helpful as well. You can no longer download the python version from the task if it does not exist on the agent. you will have to have the python version that you need to use installed in the tools directory of the agent, and then specify that version from the python task. Set up your github actions workflow with a specific version of python actions setup python.

Github Actions Setup Python Stopped Working Stack Overflow
Github Actions Setup Python Stopped Working Stack Overflow

Github Actions Setup Python Stopped Working Stack Overflow Set up your github actions workflow with a specific version of python actions setup python.

You may also like