Python pip 更新问题汇总

  • libxml/xmlversion.h: No such file or directory
sudo apt-get install libxml2-dev libxslt1-dev
  • EnvironmentError: mysql_config not found
sudo apt-get install libmysqlclient-dev
  • numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
sudo apt-get install liblapack-dev libblas-dev texinfo libicu-dev 
  • __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
sudo apt-get install libcurl4-openssl-dev
  • fatal error: sqlfront.h: No such file or directory
sudo apt-get install freetds-dev 
  •  library dfftpack has Fortran sources but no Fortran compiler found
sudo apt-get install gfortran
  •  fatal error: cups/cups.h: No such file or directory
sudo apt-get install libcups2-dev
  •  fatal error: openssl/aes.h: No such file or directory
sudo apt-get install libssl-dev
  • fatal error: libsmbclient.h: No such file or directory
sudo apt-get install libsmbclient-dev
  •  fatal error: sqlite3.h: No such file or directory
sudo apt-get install libsqlite3-dev
  •  fatal error: pcap.h: No such file or directory
sudo apt-get install libpcap-dev
  •  Error: Unable to find 'openssl/opensslconf.h'
cd /usr/include/openssl/
ln -s ../x86_64-linux-gnu/openssl/opensslconf.h .
  •  fatal error: 'unicode/utypes.h': No such file or directory
sudo apt-get install libicu-dev

 

转载于:https://www.cnblogs.com/leisurely/p/4582328.html

你可能感兴趣的:(python,开发工具,数据库)