Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Why the python interpreter's version is always 3.8 even MacOS version is packaged with the python 3.9. #2559

@JeongJun-Lee

Description

@JeongJun-Lee

I made a package for MacOS with python 3.9 interpreter but, I don't understand why the python interpreter's version is always 3.8 when the Mu's for the first time fresh start.

Image Image

How can I overcome the limitation for 3.8 version only? Thank you.

mu.log

2025-04-10 00:03:50,492 - root:365(run) INFO: Process id: 80505
2025-04-10 00:03:50,522 - root:366(run) INFO: Platform: macOS-13.7.4-x86_64-i386-64bit
2025-04-10 00:03:50,523 - root:367(run) INFO: Python path: ['/Applications/Mu Editor.app/Contents/Resources/Python/lib/python39.zip', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.9', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.9/lib-dynload', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.9/site-packages']
2025-04-10 00:03:50,523 - root:368(run) INFO: Language code: ko_KR
2025-04-10 00:03:50,525 - mu.settings:220(load) WARNING: No settings file found at /Users/comseong/Library/Application Support/mu/settings.json; skipping
2025-04-10 00:03:50,962 - mu.virtual_environment:650(ensure_and_create) INFO: Added log handler.
2025-04-10 00:03:50,962 - mu.virtual_environment:661(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2025-04-10 00:03:50,962 - mu.virtual_environment:870(create_venv) INFO: Creating virtualenv: /Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801
2025-04-10 00:03:50,963 - mu.virtual_environment:871(create_venv) INFO: Virtualenv name: mu_venv-39-20250306-084801
2025-04-10 00:03:50,963 - mu.virtual_environment:494(run_subprocess) INFO: Running ('/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/Mu Editor', '-I', '-m', 'virtualenv', '-p', '/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/Mu Editor', '-q', '--symlinks', '/Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801') with kwargs {'env': {'USER': 'comseong', 'COMMAND_MODE': 'unix2003', '__CFBundleIdentifier': 'com.github.mu-editor.mu', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LOGNAME': 'comseong', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.EHofU9i0PJ/Listeners', 'HOME': '/Users/comseong', 'SHELL': '/bin/bash', 'TMPDIR': '/var/folders/9d/vq1v6bv94wb25wvhg34lr44h0000gp/T/', '__CF_USER_TEXT_ENCODING': '0x1F6:0x3:0x33', 'XPC_SERVICE_NAME': 'application.com.github.mu-editor.mu.278997533.278997540', 'XPC_FLAGS': '0x0', 'TCL_LIBRARY': '/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/lib/tcl8.6', 'LC_CTYPE': 'UTF-8', 'QT_API': 'pyqt5', 'QT_AUTO_SCREEN_SCALE_FACTOR': '1', 'QT_MAC_WANTS_LAYER': '1'}}
2025-04-10 00:03:54,714 - mu.virtual_environment:506(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-04-10 00:03:54,715 - mu.virtual_environment:890(create_venv) INFO: Created virtual environment using /Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/Mu Editor at /Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801
2025-04-10 00:03:54,746 - mu.virtual_environment:967(install_baseline_packages) INFO: Installing baseline packages.
2025-04-10 00:03:54,762 - mu.virtual_environment:145(run_blocking) INFO: About to run blocking /Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801/bin/pip with args ['--version', '--disable-pip-version-check'] and envvars {}
2025-04-10 00:03:56,193 - mu.virtual_environment:195(wait) DEBUG: Finished: True; exitStatus 0; exitCode 1
2025-04-10 00:03:56,194 - mu.virtual_environment:230(wait) ERROR: Traceback (most recent call last):
  File "/Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
2025-04-10 00:03:56,207 - mu.virtual_environment:708(ensure_and_create) ERROR: Process finished but with error code 1:
Traceback (most recent call last):
  File "/Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
2025-04-10 00:03:56,450 - mu.virtual_environment:605(quarantine_venv) INFO: Quarantined /Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801 as /Users/comseong/Library/Application Support/mu/mu_venv-39-20250306-084801.FAILED
2025-04-10 00:03:56,463 - mu.virtual_environment:525(relocate) DEBUG: Relocating to /Users/comseong/Library/Application Support/mu/mu_venv-39-20250410-000356
2025-04-10 00:03:56,463 - mu.virtual_environment:541(relocate) DEBUG: Virtual environment set up mu_venv-39-20250410-000356 at /Users/comseong/Library/Application Support/mu/mu_venv-39-20250410-000356

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions