[ansible-project] Re: ModuleNotFoundError: No module named 'ansible.parsing'

2019-01-28 Thread shenhaowee
在 2019年1月28日星期一 UTC+8下午4:10:51,shenh...@gmail.com写道: > > From what I saw in my environment I got this error when the script wasn't > in my root directory. > > [root@xxx API]# ./my_ansible.py Traceback (most recent call last): > File "./my_ansible.py", line 5, in > from

[ansible-project] ModuleNotFoundError: No module named 'ansible.parsing'

2019-01-28 Thread shenhaowee
>From what I saw in my environment I got this error when the script wasn't in my root directory. [root@xxx API]# ./my_ansible.py Traceback (most recent call last): File "./my_ansible.py", line 5, in from ansible.parsing.dataloader import DataLoader File