试用sud o pip提示找不到pip命令,不加sudo可以找到,这时候需要使用whereis 去看pip命令的路径

sudo + pip完整路径即可

安装python  snappy 失败提示: 

snappymodule.cc:28:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1

需要安装python-devel 包

sudo yum install python-devel

相关文章:

  • 2022-01-09
  • 2021-06-15
  • 2021-04-14
  • 2022-01-21
  • 2022-12-23
  • 2021-06-20
猜你喜欢
  • 2021-11-15
  • 2021-11-10
  • 2021-11-19
  • 2021-11-19
  • 2021-11-22
  • 2022-02-08
相关资源
相似解决方案