module 'tinytuya' has no attribute 'Cloud' #339
Unanswered
dpoitou-tlse
asked this question in
Q&A
Replies: 1 comment 2 replies
-
See if python 3.7 is using the latest tinytuya:
Should be close to 1.12.5 and if not:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I try to launch my python script from a webpage. I use to do it form any other automations using jeedom.
It seems I have a permission issue but I do not undernstand how to solve it...
My code is
When I launch my script from a web interface as www-data user I got this error :
If I run the same script as root user in a terminal it works well.
I tried to reinstall tinytuya with pip and checking that I did not used 'sudo' for installation
python -m pip install tinytuya
My installation is ok
The module seems to be correctly imported by my script but not the Cloud function...
Any idea ?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions