Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Unable to install Python #407

Open
trymeouteh opened this issue Feb 12, 2025 · 3 comments
Open

[BUG]: Unable to install Python #407

trymeouteh opened this issue Feb 12, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@trymeouteh
Copy link

Version
The version you are currently using
OS
Linux Mint 22

Describe the bug
Unable to install any version of Python using vfox

Screenshots[optional]
The terminal output after selecting the version of Python to install...

Preinstalling [email protected]...
Cloning into '/home/testing/.version-fox/cache/python/v-3.13.2/pyenv'...
remote: Enumerating objects: 1347, done.
remote: Counting objects: 100% (1347/1347), done.
remote: Compressing objects: 100% (721/721), done.
remote: Total 1347 (delta 808), reused 788 (delta 493), pack-reused 0 (from 0)
Receiving objects: 100% (1347/1347), 1.14 MiB | 562.00 KiB/s, done.
Resolving deltas: 100% (808/808), done.
Building python ...
Downloading Python-3.13.2.tar.xz...
-> https://www.python.org/ftp/python/3.13.2/Python-3.13.2.tar.xz
Installing Python-3.13.2...

BUILD FAILED (Linuxmint 22 using python-build 20180424)

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

Last 10 log lines:
  File "/tmp/python-build.20250211204137.2310/Python-3.13.2/Lib/ensurepip/__init__.py", line 172, in _bootstrap
    return _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)])
  File "/tmp/python-build.20250211204137.2310/Python-3.13.2/Lib/ensurepip/__init__.py", line 87, in _run_pip
    return subprocess.run(cmd, check=True).returncode
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/tmp/python-build.20250211204137.2310/Python-3.13.2/Lib/subprocess.py", line 579, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/python-build.20250211204137.2310/Python-3.13.2/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmp2nxd23a3/pip-24.3.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmp2nxd23a3\', \'--root\', \'/\', \'--upgrade\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:2249: install] Error 1
plugin [PostInstall] method error: /home/testing/.version-fox/plugin/python/lib/util.lua:234: python build failed
stack traceback:
	[G]: in function 'error'
	/home/testing/.version-fox/plugin/python/lib/util.lua:234: in main chunk
	(tailcall): ?
	[G]: ?
@trymeouteh trymeouteh added the bug Something isn't working label Feb 12, 2025
@trymeouteh trymeouteh changed the title [BUG]: Some problem... [BUG]: Unable to install Python Feb 12, 2025
@bytemain
Copy link
Member

Could you share the log file to us:

/tmp/python-build.20250211204137.2310.log

@trymeouteh
Copy link
Author

@bytemain
Copy link
Member

bytemain commented Mar 4, 2025

we will ship a python plugin that directly download the prebuilt binary soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants