描述
tensorflow的nvidia docker镜像使用ubuntu16.04, ubuntu是精简之后的,有些包可能没有。在上面运行eventlet会出现下面问题
错误内容
Traceback (most recent call last):
File "/app/defect-client/defect_client/cmd/wafer-worker.py", line 14, in <module>
import eventlet
File "/usr/local/lib/python3.6/dist-packages/eventlet/__init__.py", line 10, in <module>
from eventlet import convenience
File "/usr/local/lib/python3.6/dist-packages/eventlet/convenience.py", line 7, in <module>
from eventlet.green import socket
File "/usr/local/lib/python3.6/dist-packages/eventlet/green/socket.py", line 21, in <module>
from eventlet.support import greendns
File "/usr/local/lib/python3.6/dist-packages/eventlet/support/greendns.py", line 69, in <module>
setattr(dns.rdtypes.IN, pkg, import_patched('dns.rdtypes.IN.' + pkg))
File "/usr/local/lib/python3.6/dist-