#TODO: Swagger python package used to installed into dist-packages, but it's changed into site-packages all in a sudden, we havn't found the root cause.
# so current workround is to copy swagger packages from site-packages to dist-packages.
package_dir=/usr/lib/python3.7/site-packages
if[-d$package_dir]&&[$(find $package_dir-type f -name"*client*.egg" | wc-l)-gt 0 ];then