<>Problem & TLDR
Hello! 我最近从视窗转向持久性有机污染物! 我不熟悉Libert和Adhury,而是想学习。
我对改变普兰帕克·维克克·沃思·斯堪德的译本感到不安。 富兰巴克五氯苯基苯基odium基 version基甲 version状腺素为3.11.7 64-bit,我没有人工装入我的持久性有机污染物! 顾问办公室的班子分配系统,我也看不到在我的家事中。 当我安装了持久性有机污染物! 我安放了Lav3.12至POP! 但是,我仍然不能把Lappak VSC讲台的空洞译本从它的幻觉3.11改到我的安装的Sharm3.12,即使有虚拟环境夹。 尽管我不敢肯定,平坦可能是问题的根源。 我如何解决这一问题?
我只想安装和使用最新版本和方案tkinter
。
How I installed:
第一,我与这种持久性有机污染物下载了deadsnakes/code>。 缩略语 我意外地安装了夜晚版的Sharm3.12。 然而,我确实采取了步骤,成功地将Adhur3.12安装到我的人当中!
随后,我通过指挥线路( sudo aptstals python3-pip
安装了管道。
之后,我安装了VSC讲台,点击了持久性有机污染物中的安装! SHOP。 我在VSC讲台上安放了“灰尘”。
我在我的用户夹下带上了一张名为<条码>vscaire_workspace的括号。 我制作了一个儿童夹,为名为pythontest<>/code>的VSC讲坛储存 p。
<https://tellor.io/blog/how-to-install-python-3-9-and-venv-on-ubuntu/ rel=“nofollow noreferer”>https://tellor.io/blog/how-to-install-python-3-9-and-venv-on-ubuntu/,目的是在我的代码
www.un.org/Depts/DGACM/index_spanish.htm 我曾尝试过:。
我已经确定了我从我的人口结构中得出的 p版。 投诚台站(Python3.10 &&及Sharma3.12)和VSC台(Python3.11),这些平流式版都是在这里。
I have tried setting a virtual environment with Python3.12 installed and restarting VSCodium. However I still cannot find Python3.12 as a python interpreter even though I have it installed. VSCodium defaults to Python3.11.
每当我试图调换假肢时,我都会在VSC讲台上出现产出错误。 看来,如果VSC讲坛不能承认Adre3.12。
VSC 讲台 产出:
2023-12-31 16:26:13.756 [warning] [Error: Command failed: /run/user/1000/doc/b6fda2f6/python3.12 -I /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/get_output_via_markers.py /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/interpreterInfo.py
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = /run/user/1000/doc/b6fda2f6/python3.12
isolated = 1
environment = 0
user site = 0
safe_path = 1
import site = 1
is in build tree = 0
stdlib dir = /usr/lib/python3.12
sys._base_executable = /run/user/1000/doc/b6fda2f6/python3.12
sys.base_prefix = /usr
sys.base_exec_prefix = /usr
sys.platlibdir = lib
sys.executable = /run/user/1000/doc/b6fda2f6/python3.12
sys.prefix = /usr
sys.exec_prefix = /usr
sys.path = [
/usr/lib/python312.zip ,
/usr/lib/python3.12 ,
/usr/lib/python3.12/lib-dynload ,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named encodings
Current thread 0x00007a67f433a040 (most recent call first):
<no Python frame>
at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
code: 1,
killed: false,
signal: null,
cmd: /run/user/1000/doc/b6fda2f6/python3.12 -I /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/get_output_via_markers.py /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/interpreterInfo.py
}
2023-12-31 16:26:13.760 [info] > /run/user/1000/doc/b6fda2f6/python3.12 ~/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/get_output_via_markers.py ~/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/interpreterInfo.py
2023-12-31 16:26:13.796 [error] [Error: Command failed: /run/user/1000/doc/b6fda2f6/python3.12 /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/get_output_via_markers.py /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/interpreterInfo.py
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = /run/user/1000/doc/b6fda2f6/python3.12
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = /usr/lib/python3.12
sys._base_executable = /run/user/1000/doc/b6fda2f6/python3.12
sys.base_prefix = /usr
sys.base_exec_prefix = /usr
sys.platlibdir = lib
sys.executable = /run/user/1000/doc/b6fda2f6/python3.12
sys.prefix = /usr
sys.exec_prefix = /usr
sys.path = [
/usr/lib/python312.zip ,
/usr/lib/python3.12 ,
/usr/lib/python3.12/lib-dynload ,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named encodings
Current thread 0x00007012d7637040 (most recent call first):
<no Python frame>
at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12)] {
code: 1,
killed: false,
signal: null,
cmd: /run/user/1000/doc/b6fda2f6/python3.12 /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/get_output_via_markers.py /home/zhen/.var/app/com.vscodium.codium/data/codium/extensions/ms-python.python-2023.20.0-universal/pythonFiles/interpreterInfo.py
}
2023-12-31 16:26:13.798 [error] Unable to start Jedi language server as a valid interpreter is not selected
I have tried restarting my POP!_OS System and sudo apt update
.
I have tried reinstalling POP!_OS.
I found out that Flatpak VSCodium is ran inside a container so that it has limited access to the rest of my system: https://github.com/flathub/com.vscodium.codium#host-shell and is sandboxed https://docs.flatpak.org/en/latest/sandbox-permissions.html.
因此,我要求ChatGPT提供帮助,但我找不到很多答案,不去寻找平坦的VSC讲台。
zhen@pop-os:~/vscodium_workspace$ flatpack list
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 28, in <module>
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module>
from CommandNotFound.db.db import SqliteDatabase
File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module>
import apt_pkg
ModuleNotFoundError: No module named apt_pkg
zhen@pop-os:~/vscodium_workspace$ cd /
zhen@pop-os:/$ flatpak list
Name Application ID Version Branch Installation
Discord com.discordapp.Discord 0.0.39 stable user
VSCodium com.vscodium.codium 1.85.1.23348 stable user
Freedeskto… org.freedesktop.Platform 23.08.9 23.08 user
Mesa …desktop.Platform.GL.default 23.3.1 23.08 user
Mesa (Extr… …desktop.Platform.GL.default 23.3.1 23.08-extra user
nvidia-545… …latform.GL.nvidia-545-29-06 1.4 user
Intel …esktop.Platform.VAAPI.Intel 23.08 user
openh264 …eedesktop.Platform.openh264 2.1.0 2.2.0 user
Freedeskto… org.freedesktop.Sdk 23.08.9 23.08 user
Pop Gtk th… org.gtk.Gtk3theme.Pop-dark 3.22 user
zhen@pop-os:/$ flatpak info com.vscodium.codium
VSCodium - Code editing. Redefined. Telemetry less.
ID: com.vscodium.codium
Ref: app/com.vscodium.codium/x86_64/stable
Arch: x86_64
Branch: stable
Version: 1.85.1.23348
License: MIT
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 342.6 MB
Runtime: org.freedesktop.Sdk/x86_64/23.08
Sdk: org.freedesktop.Sdk/x86_64/23.08
Commit: b05e67034a507910ca4ace4e03e00550abd09aa59de143facb2a8418c505bc5c
Parent: c74719ca5d569d7befd8c731f49eba22f39b3a73837730cd7d8bbe15a1aef5e2
Subject: :tada: Update Codium (a0c44587)
Date: 2023-12-25 19:24:30 +0000
If you have any ideas how to solve my problem, it would be greatly appreciated. Happy New Year!