decision-labs / parse_fdw

Parse FDW for PostgreSQL
MIT License
6 stars 1 forks source link

for some reason, getting an ImportError #2

Open jondot opened 8 years ago

jondot commented 8 years ago

This is the traceback:

ERROR:  Error in python: ImportError
DETAIL:  Traceback (most recent call last):

      File "/usr/local/lib/python2.7/dist-packages/multicorn-1.2.4-py2.7-linux-x86_64.egg/multicorn/__init__.py", line 468, in get_class
        module = import_module(module_name)

      File "/usr/local/lib/python2.7/dist-packages/multicorn-1.2.4-py2.7-linux-x86_64.egg/multicorn/__init__.py", line 448, in import_module
        __import__(name)

      File "/usr/local/lib/python2.7/dist-packages/parse_fdw/parse_fdw.py", line 4, in <module>
        from parse_rest.connection import register

    ImportError: No module named connection

Running on Postgres 9.4, and I've verified all pip dependencies were installed, any idea why this still happens?

Thanks!

jondot commented 8 years ago

Solved. need to explicitly pip install the current parse_rest like so:

$ pip install git+https://github.com/dgrtwo/ParsePy.git

which override the very old pypi version.

jondot commented 8 years ago

Just noticed the dependency in setup.py - I suggest to update it to current parse_rest - what do you think?

kashif commented 8 years ago

Yes... @jondot the issue is that i need the pull request dgrtwo/ParsePy#105 merged...