Php Dev Php Dev - 2 months ago 18
iOS Question

runserver.py giving Module Error while setup MDM server code

I am trying to setup this git code on Ubuntu server
https://github.com/jessepeterson/commandment

I have managed to install the required packages
https://github.com/jessepeterson/commandment/blob/master/requirements.txt


  • M2Crypto<0.25

  • pyOpenSSL

  • Flask

  • SQLAlchemy

  • apns

  • oauthlib

  • passlib

  • biplist

    Now when I run the runserver.py file
    it is giving me some Module Error



Please see the attach image

Please let me know how can I setup this code

Thanks,

Answer

Please check if apns module is installed by pip list

If it is not installed, Please install apns module by pip install apns

If already part installed, check if it is part of your virtualenv PYTHONPATH, if you are using virtualenv

Comments