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

latest PyPi release (0.3.3) does not declare dependencies correctly #15

Open
Zocker1999NET opened this issue May 7, 2024 · 1 comment

Comments

@Zocker1999NET
Copy link

to test, execute following commands (expects POSIX shell, e.g. bash):

python3 -m venv venv
source venv/bin/activate
python3 -m pip install edge-ml
python3 -c "from edgeml import DatasetReceiver"

and I get following error message:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/zocker/tmp/edge-ml/venv/lib/python3.11/site-packages/edgeml/__init__.py", line 1, in <module>
    from edgeml.edgeml import DatasetCollector, DatasetReceiver
  File "/home/zocker/tmp/edge-ml/venv/lib/python3.11/site-packages/edgeml/edgeml.py", line 1, in <module>
    import requests as req
ModuleNotFoundError: No module named 'requests'

Manually installing requests brings up another ModuleNotFoundError, and so on.

This project seems to declare its dependencies in https://github.com/edge-ml/python/blob/main/requirements.txt however pip seems not aware of that.
This might be fixed by adding following directive to setup.cfg (if I understand this docu correctly):

[options]
install_requires = file: requirements.txt
@riedel
Copy link
Member

riedel commented Jul 15, 2024

Also h5py and pandas

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

2 participants