Latest Python image on nvidia TX2


#1

There seem to be an issue with the latest Python images on nvidia TX2
When using FROM resin/jetson-tx2-python:3 I’m getting the following error with Python pip:

/usr/src/app# pip
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in <module>
    from pip import main
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 72, in <module>
    from pip.log import logger
  File "/usr/lib/python3/dist-packages/pip/log.py", line 9, in <module>
    import colorama, pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1520, in <module>
    register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

Is anyone else experiencing that issue?


#2

Hi @eblex, thanks for the report. Maybe @nghiant2710 can chime in here?


#5

hey @eblex, can’t seem to be able to reproduce it with either resin/jetson-tx2-python:3-20180223 that was likely the resin/jetson-tx2-python:3 release at the time of original post, or with the latest resin/jetson-tx2-python:3 container…

Do you still have this issue? If yes, would it be possible to take a look at the full Dockerfile? Would wonder if it is because of other installation steps done after FROM ....