Code Monkey home page Code Monkey logo

Comments (8)

pmilewsk avatar pmilewsk commented on September 28, 2024

Hello Lisa,

could you provide more logs for that? For me it seems that you have python miss-configured. Please also provide me python2 and python3 version.

Best Regards,
Piotr Milewski

from nauta.

shixinlishixinli avatar shixinlishixinli commented on September 28, 2024

hi milewski
the follow is the log.
2019-06-13 10:38:14,391 p=1524 u=lisas | ERROR! Unexpected Exception, this is probably a bug: No module named 'distutils'
2019-06-13 10:38:14,391 p=1524 u=lisas | to see the full traceback, use -vvv
2019-06-13 10:38:14,392 p=1524 u=lisas | the full traceback was:

Traceback (most recent call last):
File "ansible-playbook", line 118, in
File "/tmp/_MEIoLWl2d/ansible/cli/playbook.py", line 122, in run
results = pbex.run()
File "/tmp/_MEIoLWl2d/ansible/executor/playbook_executor.py", line 81, in run
pb = Playbook.load(playbook_path, variable_manager=self._variable_manager, loader=self._loader)
File "/tmp/_MEIoLWl2d/ansible/playbook/init.py", line 54, in load
pb._load_playbook_data(file_name=file_name, variable_manager=variable_manager)
File "/tmp/_MEIoLWl2d/ansible/playbook/init.py", line 106, in _load_playbook_data
entry_obj = Play.load(entry, variable_manager=variable_manager, loader=self._loader, vars=vars)
File "/tmp/_MEIoLWl2d/ansible/playbook/play.py", line 112, in load
return p.load_data(data, variable_manager=variable_manager, loader=loader)
File "/tmp/_MEIoLWl2d/ansible/playbook/base.py", line 230, in load_data
self._attributes[target_name] = method(name, ds[name])
File "/tmp/_MEIoLWl2d/ansible/playbook/play.py", line 197, in _load_roles
roles.append(Role.load(ri, play=self))
File "/tmp/_MEIoLWl2d/ansible/playbook/role/init.py", line 164, in load
r._load_role_data(role_include, parent_role=parent_role)
File "/tmp/_MEIoLWl2d/ansible/playbook/role/init.py", line 231, in _load_role_data
self._task_blocks = load_list_of_blocks(task_data, play=self._play, role=self, loader=self._loader, variable_manager=self._variable_manager)
File "/tmp/_MEIoLWl2d/ansible/playbook/helpers.py", line 80, in load_list_of_blocks
loader=loader,
File "/tmp/_MEIoLWl2d/ansible/playbook/block.py", line 93, in load
return b.load_data(data, variable_manager=variable_manager, loader=loader)
File "/tmp/_MEIoLWl2d/ansible/playbook/base.py", line 230, in load_data
self._attributes[target_name] = method(name, ds[name])
File "/tmp/_MEIoLWl2d/ansible/playbook/block.py", line 129, in _load_block
use_handlers=self._use_handlers,
File "/tmp/_MEIoLWl2d/ansible/playbook/helpers.py", line 125, in load_list_of_tasks
(action, args, delegate_to) = args_parser.parse()
File "/tmp/_MEIoLWl2d/ansible/parsing/mod_args.py", line 289, in parse
if item in BUILTIN_TASKS or item in action_loader or item in module_loader:
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 341, in has_plugin
return self.find_plugin(name) is not None
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 330, in find_plugin
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 330, in find_plugin
plugin = self._find_plugin(name, mod_type=mod_type, ignore_deprecated=ignore_deprecated, check_aliases=check_aliases)
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 269, in _find_plugin
for path in (p for p in self._get_paths() if p not in self._searched_paths and os.path.isdir(p)):
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 177, in _get_paths
ret.extend(self._get_package_paths(subdirs=subdirs))
File "/tmp/_MEIoLWl2d/ansible/plugins/loader.py", line 142, in _get_package_paths
m = import(self.package)
File "/tmp/_MEIoLWl2d/ansible/plugins/action/init.py", line 22, in
from ansible.executor.module_common import modify_module
File "/tmp/_MEIoLWl2d/ansible/executor/module_common.py", line 33, in
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

i can from distutils.version import LooseVersion in python 2.

best
lisa shi

from nauta.

pmilewsk avatar pmilewsk commented on September 28, 2024

Hello Lisa,

Please be sure that you have installed distutils for python3 and python2 on deployment host:
https://github.com/IntelAI/nauta/blob/develop/docs/installation-and-configuration/Installer_System_Requirements/ISR.md#nauta-supported-operating-systems

I can offer you an online meeting to resolve all your issues next week (24.06 - 28.06) in your convenient time.

Best Regards,
Piotr Milewski

from nauta.

pmilewsk avatar pmilewsk commented on September 28, 2024

Hi Lisa,

is this issue resolved or you need further assistance?

Best regards,
Piotr Milewski

from nauta.

pmilewsk avatar pmilewsk commented on September 28, 2024

Hello,

This ticket will be closed in 5 days if there will not be any action from user.

Best Regards,
Piotr Milewski

from nauta.

shixinlishixinli avatar shixinlishixinli commented on September 28, 2024

hi milewski

sorry for the late reply. i am sure i have installed the distutils for python . i have try to install nauta on docker images . but there are the same error.

best
lisa shi

from nauta.

pmilewsk avatar pmilewsk commented on September 28, 2024

Hi Lisa,

Do you need a meeting to resolve your issues?
If yes - please send invitation with date on my e-mail at my github profile.

Remember that the packages need to be installed on Nauta hosts (or you need to provide proper repository for centos):
https://github.com/IntelAI/nauta/blob/develop/docs/installation-and-configuration/Target_Host_Requirements/THR.md

Best Regards,
Piotr Milewski

from nauta.

pmilewsk avatar pmilewsk commented on September 28, 2024

Issue was due to python and CentOS distutils package.

from nauta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.