vfox
vfox copied to clipboard
python下载完了安装失败
Version 0.6.0
OS macOS
Question Description
python 安装失败
我是Windows的问题, 没有提供exe/msi的安装包
类似的问题,安装失败
The current version is not released
window下无法安装python
PS C:\Users\76584> vfox search python Please select a version of python to install [type to search]: -> v3.14.0 v3.13.3 v3.13.2 v3.13.1 v3.13.0 v3.12.10 v3.12.9 v3.12.8 v3.12.7 v3.12.6 v3.12.5 v3.12.4 v3.12.3 v3.12.2 v3.12.1 v3.12.0 v3.11.12 v3.11.11 v3.11.10 v3.11.9 Press ↑/↓ to select and press ←/→ to page, and press Enter to confirm plugin [PreInstall] method error: C:\Users\76584.version-fox\plugin\python\hooks\pre_install.lua:10: The current version is not released stack traceback: [G]: in function 'error' C:\Users\76584.version-fox\plugin\python\hooks\pre_install.lua:10: in main chunk [G]: ? PS C:\Users\76584>
前几天我在 Anolis OS 8.9 上通过 vfox 安装 Python 环境时也出现类似的问题,但实际上是系统中缺少了相关的依赖导致的。
我不太确定具体需要什么依赖库,但是根据检索到的一些资料和多次尝试,只要提前安装这些依赖应该是能正常通过 vfox 安装 Python 的。
# 添加插件
vfox add python
# 安装 git,因为要拉取 python 源码编译
dnf install -y git
# 安装一推依赖库
dnf install -y \
bzip2-devel \
ncurses-devel \
libffi-devel \
readline-devel \
openssl-devel \
sqlite-devel \
tk-devel \
gdbm-devel \
libnsl2-devel \
xz-devel \
zlib-devel
# 最后再安装 python 环境
vfox install [email protected]