1. 준비 작업:
새 디렉터리와 Python 파일을 로컬로 만듭니다.
2. pycharm을 사용하여 Python 파일을 열고 터미널을 엽니다.
Python의 uiautomator2 라이브러리를 설치합니다. 명령:
핍 설치 -U uiautomator2
atx-agent 설치 시작, 명령:
python-m uiautomator2 초기화
전화에서 ATX가 허용됩니다.
3. 웨디터 설치:
지침: pip install -U weditor
오류 발생: 오류: 메타데이터 생성 실패
솔루션: pip install setuptools==50.3.2
오류:
해결책:
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html -i http: //mirrors.aliyun.com/pypi/simple/ --신뢰할 수 있는 호스트 mirrors.aliyun.com
그런 다음 다음을 실행합니다. pip install setuptools==50.3.2
실행: pip install -U weditor 오류:
해결책:
git bash를 엽니다.
Python 설치 경로를 입력하고 초기화합니다.
자식 초기화
웨디터 다운로드:
자식 클론 https://github.com/openatx/weditor
cmd 창을 엽니다.
weeditor가 다운로드한 디렉토리를 입력하십시오.
웨디터 설치:
pip3 install -e 웨디터
웨디터 시작:
파이썬 -m 웨디터
이 시점에서 weeditor 인터페이스가 브라우저에서 열립니다.
간헐적인 서비스 중단: 클릭 가능:
weditor를 다운로드하여 설치한 경우 cmd 창에서 weditor를 시작합니다.
(weditor의 다운로드 디렉토리를 입력해야 함) python -m weditor 명령을 입력하십시오.