Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

Python • Re: Help Request: Combing two working scripts into one

$
0
0
But doesn't the message "NeoPixel support requires running with sudo" indicate that the problem would persist whether I'm using the virtual environment or not? IOW, it's NeoPixel's requirement, right? Not the venv?
I don't believe so but haven't check the directory paths established when the virtual environment is activated. When Python is run under sudo it typically looks at system level directories. This means if you drop the virtual environent, you will have to install your modules using 'sudo pip'. Best to check on the Python discussions https://discuss.python.org/. You can also likely get more insight into using sudo with venv.

Statistics: Posted by DS256 — Sun Aug 04, 2024 3:35 pm



Viewing all articles
Browse latest Browse all 5288

Trending Articles