gpt4 book ai didi

python - 在 Linux 中安装 Python 3.4.4 时出错

转载 作者:行者123 更新时间:2023-11-28 17:16:05 26 4
gpt4 key购买 nike

通过运行 ./configure 脚本将 Python 3.4.4 安装到 Linux 服务器时出现以下错误:

checking for ensurepip... upgrade
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.pre.in'

我正在尝试搜索,但没有得到太多信息,请专家在这里提供他们的意见,将不胜感激。

最佳答案

我已经删除了旧的 python 目录并按照以下对我有用的步骤进行操作,也想与这里的人分享。

wget https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz
tar xzf Python-3.4.4.tgz
cd Python-3.4.4/
./configure
make altinstall
python3.4 -V

关于python - 在 Linux 中安装 Python 3.4.4 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44135136/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com