Я установил tensorrt 3.0.4, но когда я пытаюсь установить tenorflow с помощью tensorrt 3.0.4, я получил следующее:
uff 0.2.0 requires argparse>=1.4.0, which is not installed.
tensorrt 3.0.4 requires argparse>=1.4.0, which is not installed.
Но странность в том, что pip show
argparse производит следующий вывод:
Name: argparse
Version: 1.4.0
Summary: Python command-line parsing library
Home-page: https://github.com/ThomasWaldmann/argparse/
Author: Thomas Waldmann
Author-email: [email protected]
License: Python Software Foundation License
Location: /root/env/py3/lib/python3.5/site-packages
Requires:
Required-by: uff, tensorrt
Похоже, tensorrt
и uff
не могут найти argpase, хотя они тоже находятся в root/env/py3/lib/python3.5/site-packages
$pip show tensorrt
Name: tensorrt
Version: 3.0.4
Summary: Python API for TensorRT, a high-performance deep learning inference optimizer and runtime for deep learning applications.
Home-page: https://developer.nvidia.com/tensorrt
Author: cudatools
Author-email: [email protected]
License: NVIDIA Software License
Location: /root/env/py3/lib/python3.5/site-packages
Requires: enum34, future, protobuf, argparse, numpy, pycuda, Flask, pillow
Required-by:
Как я могу это исправить?