Ronald Oussoren <ronaldousso...@mac.com> added the comment:

The root cause likely is the calculation of sys._base_executable. In 3.10 this 
is {sys.prefix}/bin/python3.10, while in 3.11 this is 
{sys.prefix}/Resources/Python.app/Contents/MacOS/Python.

The venv library uses the incorrect value and therefore creates an incorrect 
virtual environment.

----------
components: +Interpreter Core

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46890>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to