Yeah. still the same error.
@jmchilton and @davebx thanks a lot for your help!
I could install psycopg2 with --no-cache-dir --no-binary as you recommended.
However, when I ./run.sh Galaxy again, it uninstalled my freshly installed psycopg2, and download and installed the binary version again! Any suggestions?
Collecting psycopg2==2.6.1 (from -r /dev/stdin (line 1))
Downloading https://wheels.galaxyproject.org/packages/psycopg2-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl (2.0MB)
100% |████████████████████████████████| 2.0MB 553kB/s
Installing collected packages: psycopg2
Found existing installation: psycopg2 2.7.4
Successfully uninstalled psycopg2-2.7.4
Successfully installed psycopg2-2.6.1