Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

ImportError: No module named 'psycopg2' #23

Open
felipemouradev opened this issue Apr 17, 2020 · 3 comments
Open

ImportError: No module named 'psycopg2' #23

felipemouradev opened this issue Apr 17, 2020 · 3 comments

Comments

@felipemouradev
Copy link

/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
Copy link

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

@rockdrigoma
Copy link

rockdrigoma commented Apr 29, 2020

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
Copy link

rymain commented Apr 30, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants