Skip to content

[BUG]: Error is reported using vfox install [email protected] #550

@xljya

Description

@xljya

Version
vfox version 0.6.10
OS
WSL2

Describe the bug
❯ vfox install [email protected]
Preinstalling [email protected]...
Cloning into '/home/liucf/.version-fox/cache/python/v-3.13.7/pyenv'...
remote: Enumerating objects: 1433, done.
remote: Counting objects: 100% (1433/1433), done.
remote: Compressing objects: 100% (721/721), done.
remote: Total 1433 (delta 898), reused 901 (delta 579), pack-reused 0 (from 0)
Receiving objects: 100% (1433/1433), 1.16 MiB | 6.42 MiB/s, done.
Resolving deltas: 100% (898/898), done.
Building python ...
Downloading Python-3.13.7.tar.xz...
-> https://www.python.org/ftp/python/3.13.7/Python-3.13.7.tar.xz
Installing Python-3.13.7...

BUILD FAILED (Ubuntu 24.04 using python-build 2.6.8)

Inspect or clean up the working tree at /tmp/python-build.20251001233817.91654
Results logged to /tmp/python-build.20251001233817.91654.log

Last 10 log lines:
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/ensurepip/init.py", line 172, in _bootstrap
return _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)])
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/ensurepip/init.py", line 87, in _run_pip
return subprocess.run(cmd, check=True).returncode
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/python-build.20251001233817.91654/Python-3.13.7/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = ['/tmp/tmpbepr0b3t/pip-25.2-py3-none-any.whl'] + sys.path\nsys.argv[1:] = ['install', '--no-cache-dir', '--no-index', '--find-links', '/tmp/tmpbepr0b3t', '--root', '/', '--upgrade', 'pip']\nrunpy.run_module("pip", run_name="main", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:2255: install] Error 1
plugin [PostInstall] method error: /home/liucf/.version-fox/plugin/python/lib/util.lua:234: python build failed
stack traceback:
[G]: in function 'error'
/home/liucf/.version-fox/plugin/python/lib/util.lua:234: in main chunk
(tailcall): ?
[G]: ?
failed to install python

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions