flathub / flathub/com.visualstudio.code

When the python project is opened, the terminal cannot activate the virtual environment

Offen
#567 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
217
Forks
82
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
1

Beschreibung

Good, ubuntu24+vscode 1.97 a project,
.vscode/settings.json

`"terminal.integrated.profiles.linux": {

"bash": {

"path": "bash",

"args": [

"-c",

"Source /opt/pyenv/envpy3.12/bin/activate; bash"

]

},
"python.terminal.activateEnvironment": true,`

Open the project: menu: terminal - - > the new terminal, and can't open the virtual environment, manual **source /opt/pyenv/envpy3.12/bin/activate**; Can open, where is not configured well, thank you.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.