On 9/18/23 02:16, Peter J. Holzer via Python-list wrote:
On 2023-09-15 14:15:23 +0000, c.buhtz--- via Python-list wrote:
I tried to install it via "pipx install -e .[develop]". It's pyproject.toml
has a bug: A missing dependency "dateutil". But "dateutil" is not available
from PyPi for Python 3.11 (the default in Debian 12). But thanks to great
Debian they have a "python3-dateutil" package. I installed it.

Sidenote:
PyPI does have several packages with "dateutil" in their name. From the
version number (2.8.2) I guess that "python-dateutil" is the one
packaged in Debian 12.

This can be installed via pip:


It *is* the case that package name is not always equal to importable name. That certainly occurs in the universe of Python packages on PyPI; it's if anything much more likely on Linux distributions which have to share the package name namespace with a lot more than just Python packages (just for starters, what seems like billions of Perl packages), so you're even more likely to see names like python-foo or python3-foo when the thing you import is foo. That has nothing to do virtualenvs, of course.

The use of a virtualenv for a project actually makes it more likely that you discover unstated dependencies, which is generally a good thing.


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to