algorithmiaio/langpacks

Importing a library from Anaconda Python times out the algorithm. [python2]

Closed this issue · 1 comments

We use anaconda python to support majority of Machine Learning libraries in python. When I try to import the package gensim the algorithm times out.

This is the code I used:

import Algorithmia
import gensim

def apply(input):
    return "hello {}".format(input)

This is the error I always get:

Error: Operation timed out after 300000 millis

I haven't changed the dependency file, it uses the default langpack python dependency file:

algorithmia>=1.0.0
six

Apparently I was suppose to include it in the dependency file. Didn't understand why it didn't give me an error though after trying to import a non-existent library.