Skip to content

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

@Zocker1999NET

Description

@Zocker1999NET

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions