1.解压项目目录到服务器
unzip filename -d ./
2.执行脚本可能会报错
Traceback (most recent call last):
File "dataQA_Ralph_dependency.py", line 3, in <module>
from BeautifulReport import BeautifulReport
ImportError: No module named BeautifulReport
我们使用python 3.6看下好像也没有
[root@pro-app-174 autotest]# /usr/local/python3.6/bin/python3 dataQA_dependency.py
Traceback (most recent call last):
File "dataQA_Ralph_dependency.py", line 3, in <module>
from BeautifulReport import BeautifulReport
ModuleNotFoundError: No module named 'BeautifulReport'
[root@pro-app-174 autotest]#
/usr/local/python3.6/bin/pip3 install --upgrade pip
/usr/local/python3.6/bin/pip3 install BeautifulReport
/usr/local/python3.6/bin/python3 /opt/housekeeper/autotest/dataQA_dependency.py