Please make sure that the amagama command is accessible.
The amagama command will try to use the best pure Python WSGI server
to launch amaGama server listening on port
After launching the server you can test that amaGama is working by visiting http://localhost:8888/tmserver/en/ar/unit/file which should display a JSON representation of the Arabic translations for the English file word.
For more options check:
$ amagama --help