fix: use offical pypi repository

This commit is contained in:
shenglian zhou 2023-03-29 11:33:18 +08:00
parent 1f953a422d
commit 883734a6b8
1 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ class TDTestCase:
tdLog.info("install taospyudf...")
packs = ["taospyudf"]
for pack in packs:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', pack])
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-i', 'https://pypi.org/simple', '-U', pack])
tdLog.info("call ldconfig...")
os.system("ldconfig")
tdLog.info("install taospyudf successfully.")
@ -461,4 +461,4 @@ class TDTestCase:
tdLog.success("%s successfully executed" % __file__)
tdCases.addWindows(__file__, TDTestCase())
tdCases.addLinux(__file__, TDTestCase())
tdCases.addLinux(__file__, TDTestCase())