From: Mick S. <mi...@su...> - 2019-10-26 23:01:25
|
I have a problem with that. I removed pyownet with sudo pip3 uninstall pyownet then I reinstalled with sudo apt install pyownet but that gave me E: Unable to locate package pyownet so I ran sudo apt install python3-ownet which seemed to complete OK, but when I run my code it fails with ModuleNotFoundError: No module named 'pyownet' am I missing something here? On 26/10/2019 15:24, Matthias Urlichs via Owfs-developers wrote: > On 26.10.19 12:53, Mick Sulley wrote: >> Question - is it good practice to always install packages like this as >> root? > On Linux, best practice is to not use "pip" if the distribution already > has a package for whatever you need. Debian: "sudo apt install > python3-ownet" (or the GUI equivalent). > |