You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% pip install whoisit
Collecting whoisit
Using cached whoisit-2.5.1.tar.gz (31 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in<module>
File "<pip-setuptools-caller>", line 34, in<module>
File "/private/var/folders/6y/xrb0tm811kl8v3jt6_7cz0q80000gn/T/pip-install-3p_w5gii/whoisit_1978a29a75af4988a86dd13a17a220a1/setup.py", line 4, in<module>
from whoisit.version import version
File "/private/var/folders/6y/xrb0tm811kl8v3jt6_7cz0q80000gn/T/pip-install-3p_w5gii/whoisit_1978a29a75af4988a86dd13a17a220a1/whoisit/__init__.py", line 4, in<module>
from .parser import parse
File "/private/var/folders/6y/xrb0tm811kl8v3jt6_7cz0q80000gn/T/pip-install-3p_w5gii/whoisit_1978a29a75af4988a86dd13a17a220a1/whoisit/parser.py", line 3, in<module>
from dateutil.parser import parse as dateutil_parse
ModuleNotFoundError: No module named 'dateutil'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
So it does. I'll fix this in the next release. I had dateutil globally installed for some reason so missed this. Thanks for reporting it and the details.
pip install whoisit
in a fresh virtualenv fails:because setup.py imports code that uses python-dateutil it actually should be either specified in
setup_requires
in addition toinstall_requires
(see https://setuptools.pypa.io/en/latest/references/keywords.html ) or apyproject.toml
as defined in PEP-518 (https://peps.python.org/pep-0518/ )The text was updated successfully, but these errors were encountered: