ncbi / python-libpq-dev

Other
8 stars 11 forks source link

libpq-dev installation issue #1

Open prvnkumark opened 8 years ago

prvnkumark commented 8 years ago

Hi,

I am unable to install libpq-dev, i get below error message.

root@kali:~# pip install libpq-dev==9.4.3 Downloading/unpacking libpq-dev==9.4.3 Could not find any downloads that satisfy the requirement libpq-dev==9.4.3 Cleaning up... No distributions at all found for libpq-dev==9.4.3 Storing debug log for failure in /root/.pip/pip.log

Content of pip.log

root@kali:~# cat /root/.pip/pip.log

/usr/bin/pip run on Mon Dec 28 11:37:30 2015 Downloading/unpacking libpq-dev Getting page https://pypi.python.org/simple/libpq-dev/ URLs to search for versions for libpq-dev:

dmnapolitano commented 8 years ago

Howdy, same exact issue here:

$ pip install libpq-dev==9.3.10
Collecting libpq-dev==9.3.10
  Could not find a version that satisfies the requirement libpq-dev==9.3.10 (from versions: )
No matching distribution found for libpq-dev==9.3.10

pip version 7.1.2. I think your post to pypi is missing the actual package(s) :confused:

Shekharrajak commented 8 years ago
~# pip install libpq-dev==9.4.3
Collecting libpq-dev==9.4.3
  Could not find a version that satisfies the requirement libpq-dev==9.4.3 (from versions: )
No matching distribution found for libpq-dev==9.4.3
PrometheusPi commented 7 years ago

one way to go from there is:

wen-dell commented 5 years ago

I have a simpler solution. If you use a Linux OS, you can install libpq-dev via terminal. So, just use this command: sudo apt install libpq-dev.

ismailsunni commented 4 years ago

I stumbled this issue when I tried to install libpq-dev:

The following packages have unmet dependencies:
 libpq-dev : Depends: libpq5 (= 10.12-0ubuntu0.18.04.1) but 12.3-1.pgdg18.04+1 is to be installed

any suggestions to fix this?

Thanks!

EdwardNgo commented 4 years ago

I stumbled this issue when I tried to install libpq-dev:

The following packages have unmet dependencies:
 libpq-dev : Depends: libpq5 (= 10.12-0ubuntu0.18.04.1) but 12.3-1.pgdg18.04+1 is to be installed

any suggestions to fix this?

Thanks

Have you fixed that problem ?

ismailsunni commented 4 years ago

@EdwardNgo yes,

In my case, I need to install a specific version of libpq5

sudo apt install libpq5=10.12-0ubuntu0.18.04.1
EdwardNgo commented 4 years ago

@EdwardNgo yes,

In my case, I need to install a specific version of libpq5

sudo apt install libpq5=10.12-0ubuntu0.18.04.1

Thank you for helping me. That worked

winsont1 commented 4 years ago
sudo apt install libpq5=10.12-0ubuntu0.18.04.1

Use the latest version here and it should work :) https://www.ubuntuupdates.org/package/core/bionic/main/proposed/libpq5