test: modify checkpackages scritps of python-connector

This commit is contained in:
tomchon 2022-09-01 16:31:21 +08:00
parent 7dde782247
commit ea0d429c3e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import time
out = subprocess.getoutput("pip3 show taospy|grep Version| awk -F ':' '{print $2}' ")
print("taospy version %s "%out)
if (out == "" ):
os.system("pip install git+https://github.com/taosdata/taos-connector-python.git")
os.system("pip3 install git+https://github.com/taosdata/taos-connector-python.git")
print("install taos python connector")
else:
os.system("pip3 install --upgrade taospy ")