From: Mick S. <mi...@su...> - 2019-10-26 10:53:37
|
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 |