Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libdouble-conversion.so.1: cannot open shared object file: No such file or directory

I'm trying to run a python program called Button python3 Button.py but it doesn't work, i have the next error

Traceback (most recent call last):
  File "Button.py", line 1, in <module>
    from PyQt5.QtCore import *
ImportError: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

even though i have the libdouble-conversion.so in /usr/lib/x86_64-linux-gnu

like image 389
lina Avatar asked Nov 16 '25 22:11

lina


1 Answers

You probably do not have libdouble-conversion.so.1 as this is not available, for instance in Ubuntu 20.04. I solved a similar problem for another program by linking the .3 library like this on Ubuntu 20.04:

sudo ln -s /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3 /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1

Chances are that this will also work for you.

like image 108
amirzolal Avatar answered Nov 18 '25 11:11

amirzolal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!