geerlingguy / pi-webcam

Automation to configure a Raspberry Pi as a USB OTG webcam
https://www.youtube.com/watch?v=8fcbP7lEdzY
MIT License
1.4k stars 98 forks source link

Stuck at step when running Ansible #59

Closed CrownJoker closed 2 years ago

CrownJoker commented 2 years ago

I'm using a clean install of Raspian Lite Bullseye on the Pi Zero W v1.1 I'm able to get through most steps, however running any ansible commands, even just --version, gives me the response "Illegal Instruction". I've tried apt update and a second clean install, but I've had no luck. Not sure where to proceed from there.

The only other error that pops up is as PyYAML installs; versions 6, 5.4.1, and 5.4 all error out with exit status 4. I wasn't sure if this has any relation, as 5.3.1 then installs without issue.

Any help/advice is appreciated, thank you!

Vigge commented 2 years ago

I also chose Bullseye Lite and ran into this same issue. It didn't matter what ansible command I tried, all the ansible commands just crashed on this error, --version, even -h (help command). I did some debugging, ending up in the ansible.cli CLI class which gives this error once you try to import it.

I gave up fixing ansible at that point and used ansible from another machine which seemed to work but I never saw the pi announcing itself as a webcam in dmesg. just "new full-speed USB device number 18 using xhci_hcd", then nothing...

So I started over on the regular Buster with desktop (Legacy), running ansible externally and everything worked fine.

CrownJoker commented 2 years ago

That works for me, I'll just stick with Buster for now. Thanks for the help!