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 with playwright-python #229

Open
wangkev opened this issue Dec 29, 2020 · 0 comments
Open

error with playwright-python #229

wangkev opened this issue Dec 29, 2020 · 0 comments

Comments

@wangkev
Copy link

wangkev commented Dec 29, 2020

Having difficulty with the playwright-python package.

shell.nix

let
  pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/cd63096d6d887d689543a0b97743d28995bc9bc3.tar.gz") {};
  poetryEnv = pkgs.poetry2nix.mkPoetryEnv {                                 
    projectDir = ./.;
  };
in
pkgs.mkShell {
  buildInputs = [
    poetryEnv
  ];
}

pyproject.toml

[tool.poetry.dependencies]
python = "^3.8"
playwright = "^0.171.1"

error

> nix shell
error: --- Error ---------------------------------------------------------------------------------------------------------- nix-shell
at: (69:27) in file: /nix/store/fw277i56nwladrnqzlswf4p4pakl2pmx-source/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix

    68|           entries = (if preferWheel then binaryDist ++ sourceDist else sourceDist ++ binaryDist) ++ eggs;
    69|           lockFileEntry = builtins.head entries;
      |                           ^
    70|           _isEgg = isEgg lockFileEntry;

list index 0 is out of bounds
(use '--show-trace' to show detailed location information)
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

1 participant