Pycharm doesn't recognize SFrame

User 1278 | 2/13/2015, 4:49:32 PM

I am able to run graphlab in the python console in Pycharm, but I can't run programs that use graphlab outside the console. For example, if I try to run the following from file foo.py:

import graphlab as gl

data = gl.SFrame("~/projects/salaries.csv")

I get AttributeError: 'module' object has no attribute 'SFrame'

Comments

User 1278 | 2/13/2015, 9:34:36 PM

Note that I also see "Import resolves to it's containing file" in Pycharm