Skip to content

Fail install with Poetry install command #66

@fabfabBesnard

Description

@fabfabBesnard

bug report.
System: Ubuntu 20.04.4 LTS
Terminal: virtual environment with miniconda3
-> python 3.8.10
-> poetry 1.1.13
-> pip-22.0.3

$: poetry install #command used

Installing dependencies from lock file

Package operations: 0 installs, 1 update, 0 removals

  • Updating numpy (1.18.3 -> 1.21.5)

  ValueError

  plantdb is not a package.

  at ~/softwares/miniconda3/envs/romi/lib/python3.7/site-packages/poetry/core/masonry/utils/package_include.py:80 in check_elements
      76│                 self._package = root.name
      77│                 self._elements = sorted(list(root.glob("**/*")))  # type: List[Path]
      78│ 
      79│                 if not self.is_stub_only() and not self.has_modules():
    → 80│                     raise ValueError("{} is not a package.".format(root.name))
      81│ 
      82│                 self._is_package = True
      83│             else:
      84│                 self._package = root.stem

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions