Ped*_*ves 4 installation makefile
操作系统 Ubuntu 20.04.3 Python 安装 3.10.2 错误:make:*** [Makefile:1280:安装] sudo make install make:最新版本后出现错误 1 我该怎么办?
这是对我有用的全套步骤。安装
# python3 --version
Python 3.10.4
Run Code Online (Sandbox Code Playgroud)
在 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
Run Code Online (Sandbox Code Playgroud)
如果不遵循此流程,则会出现常见错误:
缺少关键依赖项:
[Makefile:1280: install] Erro 1
Run Code Online (Sandbox Code Playgroud)
在满足所有依赖项之前运行“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>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
28505 次 |
| 最近记录: |