python -m测试结果返回失败

问题描述

我有点担心,在卸载Python 3.8.5并通过pyenv重新安装后,我搞砸了。我正在关注this guide,当我尝试通过运行python -m test测试我是否正确安装了Python 3.8.5时,我得到的是Tests result: Failure,我正在MacOS Catalina上的iTERM2中使用.zsh (如果有帮助)。

在我以前的安装变得有点像意大利面条堆之后,我试图整齐地重新安装python等,因此我在网上每个建议都使用pyenv

== Tests result: FAILURE ==

363 tests OK.

5 tests Failed:
    test_import test_posix test_py_compile test_rlcompleter
    test_scriptpackages

36 tests skipped:
    test_al test_bsddb test_bsddb3 test_cd test_cl test_codecmaps_cn
    test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr
    test_codecmaps_tw test_curses test_epoll test_gdb test_gdbm
    test_gl test_imgfile test_largefile test_linuxaudiodev test_msilib
    test_ossaudiodev test_poll test_py3kwarn test_smtpnet
    test_socketserver test_spwd test_startfile test_sunaudiodev
    test_timeout test_tk test_tools test_ttk_guionly test_urllib2net
    test_urllibnet test_winreg test_winsound test_zipfile64
2 skips unexpected on darwin:
    test_spwd test_tools

Total duration: 5 min 29 sec
Tests result: FAILURE

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)