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

Missing dependency on setuptools resulting in ModuleNotFoundError #228

Closed
noritada opened this issue Jan 9, 2024 · 0 comments · Fixed by #229
Closed

Missing dependency on setuptools resulting in ModuleNotFoundError #228

noritada opened this issue Jan 9, 2024 · 0 comments · Fixed by #229

Comments

@noritada
Copy link
Contributor

noritada commented Jan 9, 2024

Using the development version results in ModuleNotFoundError due to missing dependency on setuptools.
Release versions (at least latest 2.1.5) do not have this problem.
Since I have already fixed this issue, I will send a PR later.

Steps to reproduce

% rye init
% rye add pygrib --path /path/to/repo
% rye sync
% rye run python -c 'import pygrib'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/path/to/project/.venv/lib/python3.12/site-packages/pygrib/__init__.py", line 2, in <module>
    from ._pygrib import *
  File "src/pygrib/_pygrib.pyx", line 12, in init pygrib._pygrib
ModuleNotFoundError: No module named 'pkg_resources'
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

Successfully merging a pull request may close this issue.

1 participant