python / python/cpython

Possible missing symlink to `lib64` in user path schema on Linux Fedora 43, Python 3.14.2

Open
#143,989 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.14 3.15 topic-installation type-bug
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Bug report

Bug description:

I'm not sure if this is distribution specific problem or something is broken in the core, so I'm filing it here first. I'm also not sure if it's CPython per se or needs to go into PyPA (pip etc).

Python 3.14.2 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] on linux

>>> pprint.pprint(sysconfig.get_paths("posix_user"))
{'data': '/home/arcivanov/.local',
 'include': '/home/arcivanov/.local/include/python3.14',
 'platlib': '/home/arcivanov/.local/lib/python3.14/site-packages',
 'platstdlib': '/home/arcivanov/.local/lib64/python3.14',
 'purelib': '/home/arcivanov/.local/lib/python3.14/site-packages',
 'scripts': '/home/arcivanov/.local/bin',
 'stdlib': '/home/arcivanov/.local/lib64/python3.14'}
>>> pprint.pprint(sysconfig.get_paths("venv"))
{'data': '/usr',
 'include': '/usr/include/python3.14',
 'platinclude': '/usr/include/python3.14',
 'platlib': '/usr/lib64/python3.14/site-packages',
 'platstdlib': '/usr/lib64/python3.14',
 'purelib': '/usr/lib/python3.14/site-packages',
 'scripts': '/usr/bin',
 'stdlib': '/usr/lib64/python3.14'}
>>> 

Firstly, in the posix_user the platlib goes into lib, whereas in venv everything that isn't pure is going into lib64.

Secondly, in the venv, this doesn't really matter due to there being a symlink from lib64 to lib. However, in the posix_user the lib64 is simply missing from /home/arcivanov/.local/ while being referenced in posix_user schema as something that should exist.

Venv:

drwxr-xr-x 1 arcivanov arcivanov 374 Dec  9 09:34 bin
-rw-r--r-- 1 arcivanov arcivanov  69 Dec  9 09:34 .gitignore
drwxr-xr-x 1 arcivanov arcivanov   0 Dec  9 09:34 include
drwxr-xr-x 1 arcivanov arcivanov  22 Dec  9 09:34 lib
lrwxrwxrwx 1 arcivanov arcivanov   3 Dec  9 09:34 lib64 -> lib
-rw-r--r-- 1 arcivanov arcivanov 305 Dec  9 09:34 pyvenv.cfg
CPython versions tested on:

3.14

Operating systems tested on:

Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sysconfig.get_paths("posix_user") and sysconfig.get_paths("venv") results on Linux Fedora 43 with Python 3.14.2, then compare the user and venv path schemas and their lib/lib64 behavior. Done means establishing whether posix_user should create or reference lib64, and documenting or correcting the behavior with regression coverage if the repository identifies an expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.