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

Not working on pydroid3 #52

Open
ratherdullpoet opened this issue Dec 16, 2020 · 10 comments
Open

Not working on pydroid3 #52

ratherdullpoet opened this issue Dec 16, 2020 · 10 comments

Comments

@ratherdullpoet
Copy link

Kivy camera works fine. kivy_garden.zbarcam installed still getting

AttributeError: module 'kivy_garden' has no attribute 'zbarcam'

Please help.

@AndreMiras
Copy link
Collaborator

Please provide more information such as platform and installation method so we can help out

@ratherdullpoet
Copy link
Author

Sir, I am using it on android on pydroid 3 (the python on android thing). Kivy works fine there. Installed it using the pip installer on pydroid . Installed both kivy_garden and kivy_garden.zbarcam.

Please do look into it. Pydroid is awesome otherwise.

@AndreMiras
Copy link
Collaborator

If it's on Android you need to provide the buildozer.spec file you used

@ratherdullpoet
Copy link
Author

My apologies for being so naive. I thought pydroid was well known. It is a different thing. We don't run apk there. We run .py codes. Could you please download it from the playstoer and check. I think that approach has a very decent possibility to catch on considering that they have pretty much all the libraries. Please do get zbarcam working there. Thanks.

https://www.makeuseof.com/install-pydroid-android/

@AndreMiras
Copy link
Collaborator

OK interesting, then first thing I'd say why installing kivy_garden, it's deprecated and would create conflicts. Instead simply pip instal zbcarcam. This is the new recommended methods as gardens are now standalone packages not depending on garden. So make sure kivy-garden is uninstalled

@ratherdullpoet
Copy link
Author

Thanks. Let me do that and get back.

As an aside would you have any expertise in integrating kivy with open cv ?

@AndreMiras
Copy link
Collaborator

You should try the Discord chat for further help.
Yes Kivy is already integrated with some OpenCV components, e.g. for camera. But it depends on what you wanna do.
You should really try the chat as this is a bug tracker

@ratherdullpoet
Copy link
Author

Thanks.

I tried removing everything and just installing zbarcam on pydroid but it still doesn't work. Same errors as before.

If you have a while could you kindly do a test run yourself or I can send you a screenshot of the error file. I now am able to use kivy with opencv there too. Such a shame that can't do zbarcam.

@ratherdullpoet
Copy link
Author

not working on python 3.9 either. Windows 10.

FileNotFoundError: Could not find module 'C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

@ratherdullpoet
Copy link
Author

same error on python 3.8.6 in windows 10

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