zoukankan      html  css  js  c++  java
  • Linux平台UI自动化测试-环境搭建

     1 # 镜像环境:UOS
     2 
     3 # 安装pip3
     4 sudo apt-get install python3-pip
     5 # 安装pyautogui和依赖包
     6 
     7 sudo pip3 install pillow
     8 sudo pip3 install python3-xlib
     9 sudo apt-get install scrot
    10 sudo apt-get install python3-tk
    11 sudo apt-get install python3-dev
    12 sudo pip3 install pyautogui -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
    13 
    14 # 安装dogtail依赖包
    15 sudo apt-get install python3-pyatspi
    16 # 安装dogtail
    17 sudo pip3 install dogtail
    18 
    19 # 安装其他依赖包
    20 sudo pip3 install ddt
    21 sudo pip3 install BeautifulReport
    22 sudo pip3 install xlrd
    23 sudo pip3 install PyYAML
    24 sudo pip3 install paramiko
    25 
    26 # 安装图像识别的库
    27 sudo pip3 install pyscreenshot
    28 sudo pip3 install pytesseract
    29 sudo pip3 install opencv-python==4.2.0.34 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
    30 sudo apt-get install tesseract-ocr
    31 sudo apt-get install tesseract-ocr-eng
    32 sudo apt-get install tesseract-ocr-chi-sim
    没伞的孩子,就要学会在雨中奔跑!
  • 相关阅读:
    数组的地址和vector数组的地址
    字节跳动 测试开发工程师 面经
    最短路径树
    SPFA
    树的直径
    树的重心
    CF1401D Maximum Distributed Tree
    期望简述
    CF723E One-Way Reform
    CF1409E Two Platforms
  • 原文地址:https://www.cnblogs.com/mikigo/p/13226174.html
Copyright © 2011-2022 走看看