I installed the blinka stuff and tried to run blinkatest.py. Is crashes at the first line (import board) because board cannot be found. When I run the test as `sudo python blinkatest.py` it works correctly. The same when I disable anaconda initialization in my .bashrc script and run as `python blinkatest.py`. So I figure the library scripts are not installed in the environment libraries but in some global library. Is this the expected behavior? If so, is there a workaround for using adafruit products without blinka?
I have a raspberry 4 with the latest 64-bit version of raspberry os and the latest version of anaconda (22.9.0) for arm. I use environments because quite some projects have conflicting demands.
Blinka appears not to cooperate with (conda) env
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- nocom
- Posts: 9
- Joined: Thu Jan 19, 2023 3:37 am
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Blinka appears not to cooperate with (conda) env
Are you running the Anaconda distribution?
https://learn.adafruit.com/circuitpytho ... spberry-piAt this time, Blinka requires Python version 3.7 or later, which means you will need to at least be running Raspberry Pi OS Bullseye.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/