I’ve been trying to code python on my deck and I can’t for the life of me figure out how to activate the virtual environment. I keep using “source .venv/bin/activate” and it does nothing. No errors, no feedback, doesn’t hang, doesn’t use the environment, nothing.
I’ve tried installing Kitty to see if it was an issue with Konsole but the exact same thing happens. It works fine in Visual Studio Code but I do t want to have to open that every time I try and run a command.
Anyone know why this could be or what I could do to fix it?
saffroncity@lemmy.world 2 weeks ago
Try running
which python
before and after yoursource
command. That should show where your Python executable is.An old teacher of mine used to say “no news is good news” in Linux, so my guess is that your command is working but doesn’t show any output.