ceeeeb / pibooth-nextcloud

Pibooth plugin for Nextcloud upload
MIT License
2 stars 1 forks source link

pip install fail :No module 'owncloud' #2

Closed davtech42 closed 5 months ago

davtech42 commented 10 months ago

Hello, I try to install the plugin, but i've got an error message :

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pibooth-nextcloud Using cached https://files.pythonhosted.org/packages/b9/24/c54504975492920b0d7befa9ef079bc51310c3fbde0e5daa70b1d44f5bd0/pibooth_nextcloud-0.0.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-copnth8i/pibooth-nextcloud/setup.py", line 12, in import pibooth_nextcloud as plugin File "/tmp/pip-install-copnth8i/pibooth-nextcloud/pibooth_nextcloud.py", line 12, in import owncloud ModuleNotFoundError: No module named 'owncloud'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-copnth8i/pibooth-nextcloud/

ceeeeb commented 10 months ago

Hello,

Can you try installing the pyocclient library

pip install pyocclient

davtech42 commented 10 months ago

Hello ceeeeb, I installed pyocclient, but i've got the same error message.

ceeeeb commented 9 months ago

Hello,

Can you sens me tour configuration

Os, php version,....

Le dim. 12 nov. 2023, 21:52, davtech42 @.***> a écrit :

Hello, I try to install the plugin, but i've got an error message :

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pibooth-nextcloud Using cached https://files.pythonhosted.org/packages/b9/24/c54504975492920b0d7befa9ef079bc51310c3fbde0e5daa70b1d44f5bd0/pibooth_nextcloud-0.0.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-copnth8i/pibooth-nextcloud/setup.py", line 12, in import pibooth_nextcloud as plugin File "/tmp/pip-install-copnth8i/pibooth-nextcloud/pibooth_nextcloud.py", line 12, in import owncloud ModuleNotFoundError: No module named 'owncloud'


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-copnth8i/pibooth-nextcloud/

— Reply to this email directly, view it on GitHub https://github.com/ceeeeb/pibooth-nextcloud/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACK6LUQGBXOH57DFUTX4C2DYEEZJ5AVCNFSM6AAAAAA7IIF7DOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DSNJWHE3DKMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

davtech42 commented 9 months ago

Hello, os : VERSION="10 (buster)" PHP : version 8.2.12

davtech42 commented 9 months ago

Hello ceeb, if you want to connect to my raspberry using ssh, send me an email : davtech42@gmx.fr

ceeeeb commented 9 months ago

OK, that's it.

The pibooth_nextcloud component must not be installed with the "root" user, but with the "pi" user.

pip3 install pibooth_nextcloud.

Now it should work !!

Le mar. 21 nov. 2023 à 19:03, davtech42 @.***> a écrit :

Hello ceeb, if you want to connect to my raspberry using ssh, send me an email : @.***

— Reply to this email directly, view it on GitHub https://github.com/ceeeeb/pibooth-nextcloud/issues/2#issuecomment-1821406009, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACK6LUXQXVVEYIQ3HMEEREDYFTUGTAVCNFSM6AAAAAA7IIF7DOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGQYDMMBQHE . You are receiving this because you commented.Message ID: @.***>

davtech42 commented 9 months ago

Thank you. Great plugin !!!