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

Pip install doesn't pull in dependencies #514

Open
addisonklinke opened this issue Nov 4, 2024 · 0 comments
Open

Pip install doesn't pull in dependencies #514

addisonklinke opened this issue Nov 4, 2024 · 0 comments

Comments

@addisonklinke
Copy link

Describe the bug

Pip install doesn't pull in dependencies

To Reproduce

pip install mlconjug3
python -c "import mlconjug3"

Expected behavior

Installation includes all dependencies so import can work immediately

Actual behavior

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/__init__.py", line 39, in <module>
    from .constants import *
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/constants/__init__.py", line 1, in <module>
    from .constants import *
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/constants/constants.py", line 1, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Then after running pip install setuptools as recommended in this answer

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/__init__.py", line 39, in <module>
    from .constants import *
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/constants/__init__.py", line 1, in <module>
    from .constants import *
  File "/Users/addisonklinke/venv/test/lib/python3.12/site-packages/mlconjug3/constants/constants.py", line 5, in <module>
    from yaml import load, dump
ModuleNotFoundError: No module named 'yaml'

and so on through the entire list of requirements in setup.py

Desktop:

  • macOS 14.4.1
  • Python 3.12.2
  • pip 24.0
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

No branches or pull requests

1 participant