praekeltfoundation / vumi

Messaging engine for the delivery of SMS, Star Menu and chat messages to diverse audiences in emerging markets and beyond.
BSD 3-Clause "New" or "Revised" License
421 stars 131 forks source link

Getting started #1066

Closed mwaaas closed 7 years ago

mwaaas commented 7 years ago

am getting this error when getting started

ImportError: No module xxxxxxx

File "/usr/local/lib/python2.7/site-packages/twisted/application/app.py", line 440, in createOrGetApplication ser = plg.makeService(self.config.subOptions) File "/usr/local/lib/python2.7/site-packages/vumi/servicemaker.py", line 223, in makeService options.worker_config) File "/usr/local/lib/python2.7/site-packages/vumi/service.py", line 487, in create_worker load_class_by_string(worker_class), config, timeout=timeout, File "/usr/local/lib/python2.7/site-packages/vumi/utils.py", line 332, in load_class_by_string return load_class(module_name, class_name) File "/usr/local/lib/python2.7/site-packages/vumi/utils.py", line 314, in load_class mod = import_module(module_name) File "/usr/local/lib/python2.7/site-packages/vumi/utils.py", line 40, in import_module import(name)

It was working then after upgraded it stopped working

rudigiesler commented 7 years ago

@mwaaas Can you try updating all of the dependencies and try again? pip install -r requirements.pip and pip install -r requirements-dev.pip?

It seems to be that you're missing one of the required modules.

mwaaas commented 7 years ago

@rudigiesler found out the issue one of the dependencies "Twisted>=13.2.0" was installing a higher Twisted package that is not supported that's why it was failing.