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.