faker_fdw icon indicating copy to clipboard operation
faker_fdw copied to clipboard

cannot import name lru_cache

Open houmanb opened this issue 6 years ago • 1 comments

hi, After installing the dependencies on my server I still get the error

app=# CREATE SERVER faker_srv 
 FOREIGN DATA WRAPPER multicorn
 OPTIONS (wrapper 'faker_fdw.FakerForeignDataWrapper');
ERROR:  Error in python: ImportError
DETAIL:  cannot import name lru_cache

My python version is Python 2.7.9 (default, Jun 29 2016, 13:08:31)

The libraries I've installed so far are:

pip install --upgrade pip
pip install Faker
pip install fake-factory==0.7.4
pip install factory-boy==2.7.0
pip install https://github.com/guedes/faker_fdw/archive/0.2.0.zip

Thanks for your kind support.

houmanb avatar Dec 11 '18 11:12 houmanb

:~(

it seems that only works for Python 3 or above, I'll check.

guedes avatar Dec 11 '18 12:12 guedes