gpt4 book ai didi

installation - 制作 : *** [Makefile:1280: install] Error 1

转载 作者:行者123 更新时间:2023-12-01 23:06:01 32 4
gpt4 key购买 nike

操作系统 Ubuntu 20.04.3Python 安装 3.10.2错误:make: *** [Makefile:1280: install] sudo make install 后错误 1制作:最新版本我该怎么办?

最佳答案

这是对我有用的全套步骤。安装

# python3 --version
Python 3.10.4

在 Ubuntu 21.10 中:

$ sudo apt install build-essential
$ sudo apt install libssl-dev libffi-dev libncurses5-dev zlib1g zlib1g-dev libreadline-dev libbz2-dev libsqlite3-dev make gcc
$ cd /to/extracted/folder
$ ./configure
$ make
$ sudo make install

如果不遵循此流程,常见错误:

缺少关键依赖项:

[Makefile:1280: install] Erro 1

在满足所有依赖项之前运行“make”,但它并没有编译失败(必须安装所有包然后 make clean 然后 make):

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting <package>
Could not fetch URL https://pypi.python.org/simple/<package>/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement <package> (from versions: )
No matching distribution found for <package>

关于installation - 制作 : *** [Makefile:1280: install] Error 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70848502/

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