linux 尝试安装python 3.6.9后出现pyenv错误

2mbi3lxu  于 2022-11-22  发布在  Linux
关注(0)|答案(1)|浏览(160)

我目前在Kali Linux上,在我写了“pyenv install python3.6.9”之后,它给了我这个:有人能帮忙吗?

BUILD FAILED (Kali 2022.2 using python-build 2.3.3) Inspect or clean up the working tree at /tmp/python-build.20220804174325.3014
Results logged to /tmp/python-build.20220804174325.3014.log
Last 10 log lines:
if test "xupgrade" != "xno"  ; then \
    case upgrade in \
        upgrade) ensurepip="--upgrade" ;; \
        install|*) ensurepip="" ;; \
    esac; \
     ./python -E -m ensurepip \
        $ensurepip --root=/ ; \
fi
Segmentation fault (core dumped)
make: *** [Makefile:1064: install] Error 139```
q3qa4bjr

q3qa4bjr1#

试试看:

sudo apt install gcc-10
CC=gcc-10 pyenv install 3.6.9

相关问题