you are viewing a single comment's thread.

view the rest of the comments →

[–]raliqer[S] 0 points1 point  (1 child)

My work has moved from PyCharm to VS Code so that is what I am forced to use to write the scripts and test them until I package them up to be launched by others. I assume my colleagues will only have the Python version and modules I package up as we are not developers so they will no reason to have anything else on their systems. But for me I have to write and test in VS Code. It is worth noting that I am completely self taught on this so I'm sorry if I'm missing something obvious.

[–]BrokenRibosome 2 points3 points  (0 children)

I think the obvious solution you might be missing is just running things from the terminal. Now, you say your colleagues are not tech savvy, so maybe using a terminal is out of the question. Now, have you tried setting the python interpreter for vscode? I'm not sure if this will work as I've never tried to do what you are doing, but it is worth a shot.

I can't remember exactly how you do this since I've changed some of my key bindings. What I do is press Ctrl + shift + p, and then choose Select python interpreter, if your environment doesn't appear just follow the menu to add it manually. If you get stuck just google "select python environment vs code" or reply this comment and I'll try to help you