From 2def083d9d05c6d8b48dfd800715f0ea38850358 Mon Sep 17 00:00:00 2001 From: mtrossevin Date: Thu, 27 Aug 2020 17:01:54 +0200 Subject: [PATCH] =?UTF-8?q?Ajoute=20une=20documentation=20pour=20la=20mise?= =?UTF-8?q?=20=C3=A0=20jour=20et=20un=20avertissement=20pour=20les=20probl?= =?UTF-8?q?=C3=A8mes=20de=20droits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMacromilter.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/HowtoMacromilter.md b/HowtoMacromilter.md index 57d71b3e..ce2aade5 100644 --- a/HowtoMacromilter.md +++ b/HowtoMacromilter.md @@ -69,6 +69,31 @@ non_smtpd_milters = inet:127.0.0.1:3690 in_flow_delay = 0s ~~~ +## Mise à jour +Dépendances: +~~~ +# pip install -U oletools pymilter configparser olefile +~~~ +Dans le cas ou on obtient une erreur du style : + +~~~ + Running setup.py bdist_wheel for oletools ... error + Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-QG_8yM/oletools/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpzsWOtDpip-wheel- --python-tag cp27: + usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] + or: -c --help [cmd1 cmd2 ...] + or: -c --help-commands + or: -c cmd --help + + error: invalid command 'bdist_wheel' + + ---------------------------------------- + Failed building wheel for oletools + Running setup.py clean for oletools +~~~ + +Cela signifie que pip a besoin de compilé au moins une partie du module mais que le module wheel n'est pas installé, cela peut être corrigé en faisant un `pip install wheel` (à priori cela ne devrait pas être nécessaire pour une installation des modules en revanche). + +> /!\\ Il est possible que l'installation avec pip ne mette pas les bon droits au fichiers, dans ce cas un `chmod -R go+rX /usr/local/lib/python2.7/dist-packages` corrige le problème.