You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand you're having trouble with uiautomator and Python 3.7.9. From my experience, uiautomator was designed to work with Python 2.7 and Python 3.5, and it generally supports Python 3.6 as well. However, issues can arise when using it with Python 3.7 or later versions.
Here's What You Can Do:
Check Compatibility:
Confirm the version of uiautomator you're using and review its documentation or release notes for compatibility information.
Consider Downgrading Python:
If possible, try downgrading to Python 3.6, which is more likely to be compatible with uiautomator. This could resolve the blocking issue you're experiencing.
Use a Virtual Environment:
Set up a virtual environment with Python 3.6 to manage different Python versions easily. This way, you can test if uiautomator works better with that version.
python3.6 -m venv myenv
source myenv/bin/activate # On macOS/Linux
myenv\Scripts\activate # On Windows
pip install uiautomator```
Consider using uiautomator2, a more recent library that offers similar functionality and might have better support for newer Python versions.
你好,请问这个包支持Python37环境吗,我这边Python3.7.9执行脚本,脚本一直处于阻塞状态
The text was updated successfully, but these errors were encountered: