Il 01/07/2017 18:11, Giuseppe Vizziello ha scritto:
Non so quanto possa esserti utile, ma questo è l'errore:

com.sun.star.uno.RuntimeExceptionError during invoking function debug in module file:///home/giuserpe/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu1555k68v15.tmp_/LeenO.oxt/pyLeenO/pyleeno.py (<class 'ImportError'>: No module named 'pyperclip' /usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, *optargs, **kwargs )] /home/giuserpe/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu1555k68v15.tmp_/LeenO.oxt/pyLeenO/pyleeno.py:2690 in function debug() [import pyperclip] /usr/lib/libreoffice/program/pythonscript.py:870 in function invoke() [ret = self.func( *args )])

Preciso che l'installazione del modulo va a buon fine, ma il "dentro LibreOffice" è diverso.
Al netto di bug da qualche parte, sicuro di averlo installato per Python 3? Potrebbe essere che sul tuo sistema sono presenti sia Python 2.x che Python 3.x e hai dato ad esempio un "pip install pyperclip" invece di "pip3 install pyperclip"?

GdS
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a