I have just discovered that if I install pyownet with

pip3 install pyownet

it works fine for programs that I run under my user, but if I run something with sudo I get

ModuleNotFoundError: No module named 'pyownet'

I can overcome this by installing as root with

sudo pip3 install pyownet


Question - is it good practice to always install packages like this as root?

Thanks

Mick



_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to