tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.4k stars 3.48k forks source link

install error on Jetson Nano #1657

Open northbio opened 5 years ago

northbio commented 5 years ago

Description

Every time when I want to install tensor2tensor on my Jetson Nano, I have error "ERROR: Could not find a version that satisfies the requirement opencv-python (from tensor2tensor) (from versions: none) ERROR: No matching distribution found for opencv-python (from tensor2tensor)" And I have install opencv 4.1.0 and I can use "import cv2" in both python2.7 and python3.6

Meanwhile, I can use "import tensor2tensor" in python2.7, but when I run "sudo t2t-trainer", I got "pkg_resources.DistributionNotFound: The 'scipy' distribution was not found and is required by tensor2tensor" error .....

Environment information

OS: Linux4Tegra  aarch64

$ pip freeze | grep tensor
tensor2tensor==1.13.4
tensorflow-datasets==1.1.0
tensorflow-metadata==0.14.0
tensorflow-probability==0.7.0
tensorrt==5.0.6.3

$ python -V
Python 2.7.15+

For bugs: reproduction and error logs

# Steps to reproduce:
...

# Error logs:
  ERROR: Could not find a version that satisfies the requirement opencv-python (from tensor2tensor) (from versions: none)
ERROR: No matching distribution found for opencv-python (from tensor2tensor)
zhangbinxy commented 5 years ago

Hi, have you fixed the problem ?

northbio commented 5 years ago

No.....I tried many times, but they all failed.....

zhangbinxy commented 5 years ago

I'm trying to install tensor2tensor in TX2 and have the same problem too...

Lexvander commented 4 years ago

Same here, on my nano.