From cc05019fc35737990b1aeabb41e12b0ee527f639 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Wed, 24 Aug 2016 23:09:17 +0200 Subject: [PATCH] Instruct users to do "pip install --user" instead Without that flag, it will try to install globally and fail unless the user is administrator/root. (And let's hope nobody runs lykos as root - though some may be smart enough to realize sudo is needed). --- wolfbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfbot.py b/wolfbot.py index 9903dd3..951a5b0 100755 --- a/wolfbot.py +++ b/wolfbot.py @@ -35,7 +35,7 @@ except ImportError: command = "py -3" print("*** Missing dependencies! ***".center(80), "Please install the missing dependencies by running the following command:", - "{0} -m pip install -r requirements.txt".format(command), "", + "{0} -m pip install --user -r requirements.txt".format(command), "", "If you don't have pip and don't know how to install it, follow this link:", "https://pip.pypa.io/en/stable/installing/", "", "If you need any further help with setting up and/or running the bot,",