ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
802 stars 127 forks source link

'ImportError: cannot import name xmpp' #1138

Closed ghost closed 9 years ago

ghost commented 9 years ago

Running the following command (from https://github.com/ArchipelProject/Archipel/wiki/Central-agent):

sudo archipel-centralagentnode --jid=admin@mydomain.com --password=12345 --create

Gives me:

Traceback (most recent call last): File "/usr/local/bin/archipel-centralagentnode", line 10, in execfile(file) File "/etc/Archipel/ArchipelAgent/archipel-core/install/bin/archipel-centralagentnode", line 27, in from archipelcore import xmpp ImportError: cannot import name xmpp

CyrilPeponnet commented 9 years ago

How did you install archipel in the first place?

ghost commented 9 years ago

Thanks for the quick response! I ran the following:

cd /etc
sudo git clone https://github.com/ArchipelProject/Archipel.git
cd Archipel/ArchipelAgent
sudo ./buildAgent  --devinstall
CyrilPeponnet commented 9 years ago

You have to checkout the submodules as well.

https://github.com/ArchipelProject/Archipel/wiki/Installation:-Agent#from-the-sources