Support Questions

Find answers, ask questions, and share your expertise

ImportError: No module named ambari_server.BackupRestore

avatar

Hello,

I am trying to install latest Ambari to Ubuntu Trusty virtual machine (VirtualBox). The default Python version is 2.7.

When I run command "sudo amberi-server setup" - I get this error:

ImportError: No module named ambari_server.BackupRestore

Can you please help?

1 ACCEPTED SOLUTION

avatar
@Valentin Mikhaylenko

Do you have /usr/lib/python2.7/site-packages/ambari_server/BackupRestore.py ? Looks like the python package is not installed properly. Can you try re-installing ambari-server?

View solution in original post

2 REPLIES 2

avatar
@Valentin Mikhaylenko

Do you have /usr/lib/python2.7/site-packages/ambari_server/BackupRestore.py ? Looks like the python package is not installed properly. Can you try re-installing ambari-server?

avatar

Thank you Sandeep! I have reinstalled it under sudo and then run "sudo ambari-server setup" - it is working!