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

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

Open
Pablofero opened this issue Aug 9, 2023 · 0 comments
Open

Comments

@Pablofero
Copy link

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)

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