guedes / faker_fdw

Because, sometimes, your Elephant must lie
Other
89 stars 7 forks source link

cannot import name lru_cache #2

Open houmanb opened 5 years ago

houmanb commented 5 years ago

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.

guedes commented 5 years ago

:~(

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