R
Railway16mo ago
Nadie

pipenv.vendor.requirementslib.exceptions.RequirementError

Project ID: 0d501654-9167-43cf-bc2f-7c93c685e450 Service ID: 252cebe7-d81f-4b20-b737-e457b26b12dc I am trying to install a local Python package outside of the root directory. Pipfile:
[packages]
libs = {editable = true, path = "./../../libs/python"}
[packages]
libs = {editable = true, path = "./../../libs/python"}
Logs:
> [stage-0 6/10] RUN --mount=type=cache,id=s/252cebe7-d81f-4b20-b737-e457b26b12dc-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy:
#10 5.791 arg_dict["parsed_line"] = Line(line)
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 171, in __init__
#10 5.791 self.parse()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1300, in parse
#10 5.791 self.parse_name()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1025, in parse_name
#10 5.791 name = self._parse_name_from_line()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 966, in _parse_name_from_line
#10 5.792 raise RequirementError(
#10 5.792 pipenv.vendor.requirementslib.exceptions.RequirementError: Failed parsing requirement from './../../libs/python'
> [stage-0 6/10] RUN --mount=type=cache,id=s/252cebe7-d81f-4b20-b737-e457b26b12dc-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy:
#10 5.791 arg_dict["parsed_line"] = Line(line)
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 171, in __init__
#10 5.791 self.parse()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1300, in parse
#10 5.791 self.parse_name()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1025, in parse_name
#10 5.791 name = self._parse_name_from_line()
#10 5.791 File "/nix/store/g22hd5lmi2whlrsdl949ff1zl3d0mjri-pipenv-2022.11.25/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 966, in _parse_name_from_line
#10 5.792 raise RequirementError(
#10 5.792 pipenv.vendor.requirementslib.exceptions.RequirementError: Failed parsing requirement from './../../libs/python'
1 Reply
Percy
Percy16mo ago
Project ID: 0d501654-9167-43cf-bc2f-7c93c685e450,252cebe7-d81f-4b20-b737-e457b26b12dc,252cebe7-d81f-4b20-b737-e457b26b12dc
Want results from more Discord servers?
Add your server