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