Traceback (most recent call last):


 "/usr/bin/pip3", line 9, in <module>

from pip import main
ImportError: cannot import name 'main'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/__init__.py", line 25, in <module>

from tensorflow.contrib.tensorrt.python import *


 "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/python/__init__.py", line 22, in <module>

from tensorflow.contrib.tensorrt.python.ops import trt_engine_op


 "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/python/ops/trt_engine_op.py", line 25, in <module>

from tensorflow.contrib.tensorrt.ops.gen_trt_engine_op import *


 "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/ops/gen_trt_engine_op.py", line 24, in <module>

from tensorflow.python.util.deprecation import deprecated_endpoints
ImportError: cannot import name 'deprecated_endpoints'
