python - Error installing psycopg on OSX (yosemite) using PIP -


i'm getting strange linker error don't understand while attempting install postgresql on osx.

i've installed postgres via brew , i'm trying django app , running. i've added postgres directory path. i'm running osx yosemite.

when run following command:

pip install psycopg2 

i error:

ld: illegal text reloc in '_init_psycopg' '_lobjecttype' architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) error: command 'cc' failed exit status 1 

i'm @ loss go here , searches type of error has lead me no where. amazing.

thanks.

turns out had couple versions of postgres installed. had remove old 1 , make sure pg_config found in path recent one. made sure pg_config proper one, error went away.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -