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

Termux errors #12

Closed
KanekiLeChomeur opened this issue Sep 4, 2021 · 1 comment
Closed

Termux errors #12

KanekiLeChomeur opened this issue Sep 4, 2021 · 1 comment

Comments

@KanekiLeChomeur
Copy link

KanekiLeChomeur commented Sep 4, 2021

`import:` unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. import: unable to open X server `' @ error/import.c/ImportImageCommand/348. vacdec: line 12: syntax error near unexpected token `(' vacdec: line 12: `data = pyzbar.pyzbar.decode(PIL.Image.open(sys.argv[1]))'

@hannob
Copy link
Owner

hannob commented Sep 14, 2021

This looks like you're trying to execute the script in a shell and not in python.

I'm not familiar with termux, are you sure it has a python environment properly installed?

@hannob hannob closed this as completed Sep 16, 2021
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