merlinnot / nominatim-docker

Fully-featured container for geocoding, reverse geocoding and address lookup based on Nominatim and Open Street Map data.
MIT License
55 stars 35 forks source link

ImportError: No module named 'psycopg2' #23

Open felipemouradev opened 4 years ago

felipemouradev commented 4 years ago

/srv/nominatim/Nominatim/nominatim/nominatim.py:307: SyntaxWarning: assertion is always true, perhaps remove parentheses? assert(False, "Unreachable code") Traceback (most recent call last): File "/srv/nominatim/Nominatim/nominatim/nominatim.py", line 31, in import psycopg2 ImportError: No module named 'psycopg2' string(33) "error status 1 running nominatim!" ERROR: error status 1 running nominatim!

saketbairoliya2 commented 4 years ago

Any updates on above error message, I'm also getting similar issue.

rockdrigoma commented 4 years ago

I've got same issue.

File "/srv/nominatim/Nominatim/nominatim/nominatim.py", line 31, in <module>
    import psycopg2
ImportError: No module named 'psycopg2'
string(33) "error status 1 running nominatim!"
ERROR: error status 1 running nominatim!

@merlinnot @rymain any idea?

rymain commented 4 years ago

check my fork here https://github.com/rymain/nominatim-docker/commits/master and changes in the commits, some might help you with the issue