setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

When using setup-python's version of python to install dependencies, no module named pip error in subproc

Open narendasan opened this issue 2 years ago • 1 comments

Description: A clear and concise description of what the bug is.

I am trying install dependencies for an action in my repo but get an error during the pip install -r requirements.txt that in a subproc there is no module named pip

https://github.com/pytorch/TensorRT/actions/runs/5149654103/jobs/9272930952#step:11:102

Action version: Specify the action version

4

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [x] Hosted
  • [ ] Self-hosted

Tools version:

3.9.4

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

You can fine the action definition here: https://github.com/pytorch/TensorRT/blob/main/.github/workflows/docgen.yml

Expected behavior: A description of what you expected to happen.

The dependencies (tensorrt) should install

Actual behavior: A description of what is actually happening.

Installation fails and the action is unable to complete

narendasan avatar Jun 01 '23 22:06 narendasan

Hello, @narendasan ! Thank you for creating the issue! We will take a look and see what can be done :)

dusan-trickovic avatar Jun 01 '23 23:06 dusan-trickovic