在RedHat8.3机器上,我尝试使用以下可标记代码: msg: "{{ lookup('dig', 'localhost') }}"TASK*****dig lookup requires the python 'dnspython' library and it is not installed"}
我想也许lookup('dig')找不到合适的地方不过,我认为我确实安装了dns
我的MAC上有2.7和3.7版本的Python。我使用Visual Studio Code作为集成开发环境,并希望在脚本中引用Yahoo Earnings module。如果我使用的是2.7python版本,我可以构建并运行该脚本。但是如果我使用3.7版本的Python,我会得到以下错误: Exception has occurred: ModuleNotFoundError
No module named 'yahoo_earnings
importing auto_arima from pmdarima: ERROR : cannot import name 'factorial' from 'scipy.misc',但不能修复错误,我不知道如何使用开发人员版本, 12),/usr/local/lib/python3.6NegativeBinomial,