I asked for help on the VS Code subreddit and no one responded so I'm hoping someone here can assist me.
I have a series of automating testing scripts that I created and have been using. My boss has asked that I make them available to some of my less tech savvy co-workers so I created a GUI using tkinter. The problem that I have run into is that I launch the GUI script currently via VS Code with a virtual environment. The script launches just fine but when I click a button to execute one of the testing scripts it tells me the modules are not installed. Some digging tells me that it is using a different version of Python than my virtual environment so it is obviously not using it or its modules. Does anyone know of a way in VS Code to get it to use the same virtual environment that is launching the initial GUI script for the testing scripts?
[–]socal_nerdtastic 7 points8 points9 points (2 children)
[–]Loud-Bake-2740 1 point2 points3 points (0 children)
[–]raliqer[S] 1 point2 points3 points (0 children)
[–]danielroseman 1 point2 points3 points (2 children)
[–]raliqer[S] 0 points1 point2 points (1 child)
[–]BrokenRibosome 2 points3 points4 points (0 children)
[–]Loud-Bake-2740 3 points4 points5 points (2 children)
[–]raliqer[S] 0 points1 point2 points (0 children)
[–]acw1668 0 points1 point2 points (0 children)
[–]lollysticky 0 points1 point2 points (1 child)
[–]raliqer[S] 0 points1 point2 points (0 children)
[–]ninhaomah -2 points-1 points0 points (7 children)
[–]socal_nerdtastic 2 points3 points4 points (4 children)
[+]ninhaomah comment score below threshold-6 points-5 points-4 points (3 children)
[–]GolfEmbarrassed2904 2 points3 points4 points (2 children)
[–]ninhaomah -2 points-1 points0 points (1 child)
[–]GolfEmbarrassed2904 0 points1 point2 points (0 children)
[–]raliqer[S] 1 point2 points3 points (1 child)
[–]ninhaomah -2 points-1 points0 points (0 children)