user1219801
user1219801

Reputation: 169

Networkx on Google App Engine

Is it possible to use Networkx on Google App Engine? I don't need to plot the graph. I just need to use the graph data structure and some algorithms from Networkx.

Upvotes: 2

Views: 292

Answers (1)

user1219801
user1219801

Reputation: 169

Put the Networkx library inside a folder (say lib) inside the folder where app.yaml resides. Then in the same folder (as app.yaml), add the following lines in appengine_config.py:

import sys
sys.path.insert(0, 'lib')

I found this solution here.

Upvotes: 3

Related Questions