python 3.8.0 编译报错 Could not import runpy module 解决方案
环境
- CentOS 7
- Gcc 4.8.5
- Python 3.8.0
相关报错
make build_all CFLAGS_NODIST=" -fprofile-use -fprofile-correction" LDFLAGS_NODIST=""
make[1]: Entering directory `/usr/local/src/Python-3.8.0'
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \echo "generate-posix-vars failed" ; \rm -f ./pybuilddir.txt ; \exit 1 ; \
fi
Could not import runpy module
Traceback (most recent call last):File "/usr/local/src/Python-3.8.0/Lib/runpy.py", line 15, in <module>import importlib.utilFile "/usr/local/src/Python-3.8.0/Lib/importlib/util.py", line 14, in <module>from contextlib import contextmanagerFile "/usr/local/src/Python-3.8.0/Lib/contextlib.py", line 4, in <module>import _collections_abc
SystemError: <built-in function compile> returned NULL without setting an error
generate-posix-vars failed
make[1]: *** [pybuilddir.txt] Error 1
make[1]: Leaving directory `/usr/local/src/Python-3.8.0'
make: *** [profile-opt] Error 2
导致原因
解决方法如下
python 3.8.0 编译报错 Could not import runpy module 解决方案相关推荐
- wince6.0 编译报错:error C2220: warning treated as error - no 'object' file generated的解决办法
内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...
- wince6.0 编译报错:error C2220: warning treated as error - no 'object' file generated的解决办法...
内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...
- mysql8没有cmakelist_CentOS7安装mysql8.0编译报错集合
以下都是我安装mysql8.0遇到的一些报错和解决方法 1.does not appear to contain CMakeLists.txt. 原因:mysql下载的源码包不对 解决方法:下载正确的 ...
- yolov5 v3.0训练报错: torch.nn.modules.module.ModuleAttributeError: ‘BatchNorm2d‘ object has no attribute
欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 yolov5 v3.0版本训练报错:torch.nn.modules.module.ModuleAttributeErr ...
- 【错误记录】Kotlin 1.5.0 编译报错 ( 1.5.0 中 Float 不能直接转 Byte 类型 )
文章目录 一.报错信息 二.解决方案 一.报错信息 Kotlin 1.5.01.5.01.5.0 后语法与之前不同 , Float 类型不能直接转为 Byte 类型 , 需要先转为 Int , 然后转 ...
- android4.0 编译报错 Xmx2048m错误 .
1.Error occurred during initialization of VM Could not reserve enough space for object heap 从字面上看是在 ...
- android 7.0编译报错,编译android7.0 sdk错误解决方法
编译时最后报错: SDK: warning: including GNU target out/target/product/generic/system/lib/libext2fs.so SDK: ...
- python基于Django框架编译报错“django.core.exceptions.ImproperlyConfigured”的解决办法?...
下面是我具体遇到的问题和解决方法: 错误详细信息: django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_IND ...
- AS升级编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin....
AS升级3.2.0 编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. 解决方法:将 ...
最新文章
- shell 中长命令的换行处理
- boost::geometry模块自定义指针到点示例
- 如何在移动设备上以开发模式访问SAP Spartacus
- EF5.x Code First 一对多关联条件查询,Contains,Any,All
- 如何在Java中对Collection对象进行排序?
- CODEVS-2050 派对灯
- 禁止复制php,wordpress禁止复制内容的实现方法
- Spring事务管理2----编程式事务管理
- 《机器学习实战》--资料下载和运行环境
- python行业中性_知乎
- 使用C#的Winform实现图文识别OCR及截图功能
- 移动硬盘弹出文件或目录损坏且无法读取解决办法
- UE4----GC(垃圾回收)
- Android App 增量更新实例(Smart App Updates)
- MFC ListCtrl的cheek框的全选和反选
- 计算机圣诞节教案,圣诞节教案范文
- 基于物理的渲染—更精确的微表面分布函数GGX
- UE4 创建自定义动画节点
- 谷歌验证码,国内各种验证码识别
- linux中realplayer.rpm格式的软件安装,realplayer安装过程中出现的文件依赖问题