Comment on Using source command for virtual Python environment
Fubarberry@sopuli.xyz 2 weeks agoInside konsole, you can use different shells. Some common ones are bash
, fish
, and zsh
.
The deck comes with all three of those installed by default.
You can usually tell which one you’re using by either looking at the title bar of konsole when you first open it (should say something like ~:bash – Konsole) or by running the command echo $SHELL
Once you’ve confirmed you’re using bash, run which python
(or which python3
). Outside of the venv you should see the command return /usr/bin/python
After you run your source command, run which python
again. You should now see that the python location being run has changed to be inside the venv folder.
MrMcGasion@lemmy.world 2 weeks ago
With SteamOS being Arch-based you shouldn’t ever really need to specify
python3
. Python 2 has been EOL for 5 years now, and thepython
command almost always points to python3 (unless you deliberately change it).