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
    没伞的孩子,就要学会在雨中奔跑!
  • 相关阅读:
    机器学习问题之屌丝的女神专属
    【读点paper】irgan
    回老园子
    【Linux】常用命令收集
    【Matlab】基本语法
    【Ubuntu】log
    【Java 学习笔记】 Hadoop学习笔记
    【Algorithm】 字符串算法
    【WordPress】小卡的土豆园开张
    【Log】Self-Check Log
  • 原文地址:https://www.cnblogs.com/mikigo/p/13226174.html
Copyright © 2011-2022 走看看