/root/miniconda3/envs/growsp/include/python3.8/Python.h:44:10: fatal error: crypt.h: No such file or directory
#include <crypt.h>
^~~~~~~~~
compilation terminated.
(报错:fatal error: crypt.h: No such file or directory)
解决:cp /usr/include/crypt.h conda环境路径下/include/python3.8/
例如:
cp /usr/include/crypt.h /root/miniconda3/envs/growsp/include/python3.8/
cp /usr/include/crypt.h ~/anaconda3/envs/ME_117/include/python3.8/