1. 创建root账户
sudo passwd root
之后再输入几次密码就好了
2. 重启网络
可以避免ssh掉了
sudo ifdown XXX && ifup xxx
遇到的问题:
1. Python.h: No such file or directory
yum search python | grep python-devel
sudo yum install python-devel.x86_64
2. ffi.h: No such file or directory
yum install libffi-devel.x86_64
3. openssl/aes.h: No such file or directory
yum install openssl-devel.x86_64
4. yaml.h: No such file or directory
yum install ncurses-devel.x86_64
本文介绍了如何通过安装特定的开发库来解决Python编译过程中出现的找不到头文件的问题,如Python.h、ffi.h、aes.h及yaml.h等,并提供了具体的解决方案。
1402

被折叠的 条评论
为什么被折叠?



