Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Cannot use module, OutletDevice method does not exist #55

Open
dachshund-digital opened this issue Jun 27, 2019 · 2 comments
Open

Cannot use module, OutletDevice method does not exist #55

dachshund-digital opened this issue Jun 27, 2019 · 2 comments

Comments

@dachshund-digital
Copy link

I installed using # pip3 install python-tuya. No errors. I am running python 3.5.3. Tried to list classes via import, dir method, no classes shown.

pip3 install python-tuya

python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pytuya
dir(pytuya)
['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec']

@NLFrankG
Copy link

NLFrankG commented Jul 13, 2019

Same issue here after updating to 7.0.2 version of pytuya to get protocol 3.3 support using python 2.7.9. All worked well before updating using # pip install python-tuya

After reverting to 7.0 everything works well again

@chsims1
Copy link

chsims1 commented May 4, 2020

AttributeError: module 'pytuya' has no attribute 'OutletDevice'

I understand that this is not actively maintained, but I am surprised that there have been no comments on this issue. The latest version works fine on python 2.7.16 but not on 3.7.3. Obviously I'd like to not have to stick with deprecated python 2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants