Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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!