Skip to content
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

Error: ENOENT: no such file or directory, stat 'C:\Users\runneradmin\.local\share\pypoetry' #19

Closed
klgd opened this issue Jul 9, 2021 · 3 comments

Comments

@klgd
Copy link

klgd commented Jul 9, 2021

use

jobs:
  # job's id
  release:
    # job's name
    name: build and release

    # the type of machine to run the job on
    runs-on: ${{ matrix.os }}

    # create a build matrix for jobs
    strategy:
      fail-fast: false
      matrix:
        python-version: [3.9]
        poetry-version: [1.1.7]
        os: [windows-latest]

    # create steps
    steps:
      - name: Check out git repository
        uses: actions/checkout@v2

      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}

      - name: Set up Poetry ${{ matrix.poetry-version }}
        uses: Gr1N/setup-poetry@v5
        with:
          poetry-version: ${{ matrix.poetry-version }}

      - name: View poetry --help
        run: poetry --help

log

Run Gr1N/setup-poetry@v5
  with:
    poetry-version: 1.1.7
    poetry-preview: false
  env:
    pythonLocation: C:\hostedtoolcache\windows\Python\3.9.5\x64
C:\hostedtoolcache\windows\Python\3.9.5\x64\python.exe D:\a\_temp\9636e696-d5c9-432f-b11c-113b944321e8 --yes --version=1.1.7
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

C:\Users\runneradmin\AppData\Roaming\Python\Scripts

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing Poetry (1.1.7)
Installing Poetry (1.1.7): Creating environment
Installing Poetry (1.1.7): Installing Poetry
Installing Poetry (1.1.7): Creating script
Installing Poetry (1.1.7): Done

Poetry (1.1.7) is installed now. Great!

To get started you need Poetry's bin directory (C:\Users\runneradmin\AppData\Roaming\Python\Scripts) in your `PATH`
environment variable.

Alternatively, you can call Poetry explicitly with `C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry`.

You can test that everything is set up by executing:

`poetry --version`

Error: ENOENT: no such file or directory, stat 'C:\Users\runneradmin\.local\share\pypoetry'
@Gr1N
Copy link
Owner

Gr1N commented Jul 11, 2021

Hi, thank you for the report. Looks like Windows platform is not supported at all for now. Will take a look soon.

Gr1N added a commit that referenced this issue Jul 11, 2021
Gr1N added a commit that referenced this issue Jul 11, 2021
Gr1N added a commit that referenced this issue Jul 11, 2021
Gr1N added a commit that referenced this issue Jul 11, 2021
@Gr1N
Copy link
Owner

Gr1N commented Jul 11, 2021

@klgd released in v6, enjoy!

@Gr1N Gr1N closed this as completed Jul 11, 2021
@klgd
Copy link
Author

klgd commented Jul 12, 2021

@Gr1N ok, I will try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants