Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'wda' has no attribute 'PORTRAIT'是什么原因 #143

Open
xiaocaipab opened this issue Mar 18, 2024 · 2 comments
Open

module 'wda' has no attribute 'PORTRAIT'是什么原因 #143

xiaocaipab opened this issue Mar 18, 2024 · 2 comments

Comments

@xiaocaipab
Copy link

xiaocaipab commented Mar 18, 2024

File "D:\gitcode\manmanbuy\venv\lib\site-packages\airtest\core\ios\ios.py", line 25, in
from airtest.core.ios.constant import CAP_METHOD, TOUCH_METHOD, IME_METHOD, ROTATION_MODE, KEY_EVENTS,
File "D:\gitcode\manmanbuy\venv\lib\site-packages\airtest\core\ios\constant.py", line 43, in
0: wda.PORTRAIT,
AttributeError: module 'wda' has no attribute 'PORTRAIT'

@youngfreeFJS
Copy link
Contributor

建议把错误代码也贴上来,包括使用的airtest的版本。
目前master是有这个attr的,并且最近修改是三年前:https://github.com/openatx/facebook-wda/blob/master/wda/__init__.py#L57

@xiaocaipab
Copy link
Author

建议把错误代码也贴上来,包括使用的airtest的版本。 目前master是有这个attr的,并且最近修改是三年前:https://github.com/openatx/facebook-wda/blob/master/wda/__init__.py#L57

image
image

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

No branches or pull requests

2 participants