flathub / flathub/com.visualstudio.code

Python version not matching with the system

Ouverte
#348 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
217
Forks
82
Merge moyen
1 j 7 h
PR mergées (30 j)
1

Description

Both on the flatpak version of vscode and code-oss, with and without virtualenv, Python would use version 3.9.9, while the Python version of the OS I'm using (pop_OS!) is 3.10.4

This led to the inability of using the PyLance/Intellisense extensions. Actually the whole terminal shell inside vscode was pretty weird... since the python version is wrong, pip was also unusable, even directly using the binaries.

I also found other people from [stackoverflow](https://stackoverflow.com/questions/70817824/visual-studio-code-using-wrong-python-version-correct-version-does-not-show-up) with the same issue. Sorry if I missed anything or if this is already an open issue.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

No source file, test, or entry point is named. Reproduce the issue in the Flatpak versions of VS Code and code-oss on Pop!_OS, comparing Python 3.9.9 with the system's Python 3.10.4 and checking how the integrated terminal, virtualenv, and pip resolve them. Done means the cause is identified and the expected Python and pip behavior is restored or clearly documented.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, shell
Domaine
devtools
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.