Trouble getting MUNET running #82
-
|
Hi, I ran into some issue as a new user of MUNET. I was following the instructions in https://munet.readthedocs.io/en/latest/. It defaulted "to user installation because normal site-packages is not writeable", and I added '/home/aaron/.local/bin' to my PATH as instructed. When running "sudo munet", I got the following error: aaron@OptiPlex-7060:~$ sudo munet
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey Aaron, The e.g: On a separate note, I am not aware of any issues that you should be concerned about when installing munet as root. The warning shown is unrelated to munet, and instead related to the standard pip recommendation of how to install python packages (i.e. install without sudo). |
Beta Was this translation helpful? Give feedback.
Hey Aaron,
The
ModuleNotFoundErroryou are experiencing is likely because you ransudo munetwithout inheriting the local environment variables. As per the note about sudo configuration (linked here in the docs), many users need to run sudo with the-Eflag.e.g:
sudo -E munetOn a separate note, I am not aware of any issues that you should be concerned about when installing munet as root. The warning shown is unrelated to munet, and instead related to the standard pip recommendation of how to install python packages (i.e. install without sudo).