1. Trabajo preparatorio:
Cree un nuevo directorio y un archivo python localmente;
2. Use pycharm para abrir el archivo python y abra la terminal:
Instale la biblioteca uiautomator2 de python, comando:
instalación pip -U uiautomator2
Comience a instalar atx-agent, comando:
python-m uiautomator2 init
Se permite ATX en el teléfono:
3. Instale el editor:
Instrucción: pip install -U weeditor
Se encontró un error: error: error en la generación de metadatos
Solución: pip install setuptools==50.3.2
Error:
solución:
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/ --host de confianza mirrors.aliyun.com
Luego ejecute: pip install setuptools==50.3.2
Ejecución: pip install -U weeditor Error:
solución:
Abre git bash:
Ingrese la ruta de instalación de python e inicialice:
iniciar git
Descargar editor:
clon de git https://github.com/openatx/weditor
Abra una ventana cmd:
Ingrese al directorio descargado por weeditor:
Instalar editor:
pip3 install -e editor
Editor de inicio:
python -m editor
En este punto, la interfaz del editor se abrirá en el navegador:
Desconexión ocasional del servicio: puede hacer clic en:
Si weeditor se ha descargado e instalado, simplemente inicie weeditor en la ventana cmd:
(Necesita ingresar al directorio de descarga de weeditor) Ingrese el comando: python -m weeditor