Giter Site home page Giter Site logo

poetry: command not found about install-poetry HOT 2 CLOSED

snok avatar snok commented on June 11, 2024
poetry: command not found

from install-poetry.

Comments (2)

PhilippWillms avatar PhilippWillms commented on June 11, 2024

Maybe your issue is related to my one:

The matrix testing has worked fine so far, but now I want to verify the correctly installed packages (specified in toml file) by executing a command (cf. last line in the snippet below).

jobs:
  test-run:
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest]
        python-version: [3.8, 3.9]
    defaults:
      run:
        shell: bash
    runs-on: ${{ matrix.os }}
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
      - name: Install python
        id: setup-python
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python-version }}
          check-latest: true
      - name: Install poetry in virtual environment
        uses: snok/[email protected]
        with:
          version: 1.4.0
          virtualenvs-create: true
          virtualenvs-in-project: false
          installer-parallel: true
      - name: Install dependencies and execute minimum example
        run: |
          poetry install --no-interaction
          rllib train file tests/mwe_cartpole_ppo.yml

But the job quites with the following statement.

/home/runner/work/_temp/eaaed385-33c0-4b52-877f-1b9e95578378.sh: line 2: rllib: command not found
Error: Process completed with exit code 127.

I wonder why this is happening as it is working in another project with subsequent poetry-based commands, e.g.
poetry run pytest tests/

from install-poetry.

sondrelg avatar sondrelg commented on June 11, 2024

Did you get to the bottom of it @indiVar0508? Closing for now, but feel free to update the issue, and I'll take a look 👍

from install-poetry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.