GithubHelp home page GithubHelp logo

Comments (7)

UtopiaHXM avatar UtopiaHXM commented on May 22, 2024 1

Try pip install -U pyopenssl 升级pyopenssl版本可行

from uiautomator2.

HeartIsBeat avatar HeartIsBeat commented on May 22, 2024

我用python2.7.5的好像碰到过这个问题,换个python3.6或python2.7.12就没问题了。

from uiautomator2.

mingyuan-xia avatar mingyuan-xia commented on May 22, 2024

这个也不完全是SSL的问题,和G-F-W有关,python版本更没多大关系,我们会考虑把这个so文件本地化或者放个稳定点地方

from uiautomator2.

codeskyblue avatar codeskyblue commented on May 22, 2024

Try pip install -U pyopenssl

Refs: psf/requests#4246

from uiautomator2.

ym994561723 avatar ym994561723 commented on May 22, 2024

这个问题 搞了我两天,最后通过抓包,请教大牛 找到了原因,是你本地的tsl协议版本过低,最低需要1.2版本的,我是1.1的,请求是 被拒了,最后的解决办法就是装个虚拟机,配上uiautomator2的环境,然后从那边对移动设备进行初始化,希望对你有帮助

from uiautomator2.

codeskyblue avatar codeskyblue commented on May 22, 2024

Ref: openatx-archive/atx-server#4

另外安装两个依赖

pip install pyOpenSSL>=0.13
pip install ndg-httpsclient>=0.3.2

from uiautomator2.

q88535448 avatar q88535448 commented on May 22, 2024

我遇到了该问题,我用pycharm执行init命令就可以成功,直接在命令行执行python -m uiautomator2 init就失败报ssl错误。

from uiautomator2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.