Traceback (most recent call last):


 "setup.py", line 23, in <module>

from paddleslim.version import slim_version


 "/opt/PaddleSlim/paddleslim/__init__.py", line 21, in <module>

from paddleslim import quant


 "/opt/PaddleSlim/paddleslim/quant/__init__.py", line 15, in <module>

from .quanter import quant_aware, quant_post, convert


 "/opt/PaddleSlim/paddleslim/quant/quanter.py", line 25, in <module>

from paddle.fluid.contrib.slim.quantization import PostTrainingQuantization
ImportError: cannot import name PostTrainingQuantization

Traceback (most recent call last):

...

from airflow.bin.cli import CLIFactory


 "..py27/lib/python2.7/site-packages/airflow/bin/cli.py", line 71, in <module>

from airflow.www_rbac.app import cached_app as cached_app_rbac


 "../py27/lib/python2.7/site-packages/airflow/www_rbac/app.py", line 27, in <module>

from flask_appbuilder import AppBuilder, SQLA


 "../py27/lib/python2.7/site-packages/flask_appbuilder/__init__.py", line 4, in <module>

from .models.sqla import Model, Base, SQLA


 "../py27/lib/python2.7/site-packages/flask_appbuilder/models/sqla/__init__.py", line 5, in <module>

from flask_sqlalchemy import SQLAlchemy, DefaultMeta, _QueryProperty


 "../py27/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 39, in <module>

from threading import get_ident as _ident_func
ImportError: cannot import name get_ident
