creating new object gives AttributeError: 'module' object has no attribute 'PyOpenGraph'
dtenenba opened this issue · comments
import PyOpenGraph og = PyOpenGraph("https://google.com")
TypeError: 'module' object is not callable
This is with the latest version of PyOpenGraph pulled from Github today, and python 2.7.10, on Mac OS X 10.10.5.
Note that if I run
python PyOpenGraph,py it does, work, printing out some page metadata, but if I put the above lines in a script or in the python (or ipython) console, I get the error above.