[Operation and maintenance] python common error handling [deepin system] (pip installation application) (1)

  1. Error message
Modules/errors.h:8:18: fatal error: lber.h: 没有那个文件或目录

Handling method

sudo apt-get install libldap2-dev
  1. Error message
Modules/LDAPObject.c:16:10: fatal error: sasl/sasl.h: 没有那个文件或目录

Handling method

sudo apt-get install libsasl2-dev
  1. Error message
awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

Solution, there is no libreadline6 in the system source, this solution may have unknown risks

cd /usr/lib/x86_64-linux-gnu/
ln -s libreadline.so.7 libreadline.so.6

Guess you like

Origin blog.csdn.net/macaiyun0629/article/details/109204802