目录:
1、tar解压包的时候出现错误 gzip: stdin: not in gzip format
2、编译的时候出现:configure: error: no acceptable C compiler found in $PATH
3、zipimport.ZipImportError: can’t decompress data; zlib not available
4、ModuleNotFoundError: No module named ‘_ctypes’
5、pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
6、在安装pycharm后运行python3.7出现如第五点错误
一、出现错误gzip: stdin: not in gzip format
在Linux环境下,通过tar -zxvf 命令解压文件时遇到”gzip: stdin: not in gzip format“等错误:如图所示
[root@localhost Downloads]# tar -xzvf Python-3.7.0.tar.xz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
解决方法:
(1)这个压缩包没有用gzip格式压缩,所以不用加z参数:
tar -zxvf Python-3.7.0.tar.xz 改成 tar -xvf Python