Skip to content

setup.py silently fails at find_packages, posibly missing __init__? #3

@Pablofero

Description

@Pablofero

Hi, first, thank you for the nice package!
I had problems installing it though. I got no error message while installing but an ModuleNotFoundError: No module named DigiCam when I try importing it. A closer inspection with pip install . -vvv reveals that no Camera.py file was being added.
After a uninstall I changed in the setup.py the line packages=find_packages() to packages=['DigiCam']. This made it work.
One possible cause is the lack of an __innit__.py file in the DigiCam folder, see: https://stackoverflow.com/a/61504665

Sytem:
Windows 10
Python 3.10.9 (in an venv)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions