Conversation
|
Good day! Thanks for the contribution! I wasn't aware the venv path could vary depending on the distro. There's only one little flaw in the logic. You start immediately with a fallback check on line 870, and then proceed to check if only the "local/bin" file exists, ignoring the orignal one. To resolve that, on line 875, you should check for either files to bootstrap the venv utility. Only after the venv utility got bootstrapped should you initialize the "VENV_ACTIVATE" variable depending on which file exists. In short, this section used to be 2-step and you are introducing an extra step to determine the proper executable location, making it into 3-step. If you can make those small adjustment, I'll merge your changes! Thanks again! |
|
Sorry I asked a coding agent to fix it and didn't try to understand the code, so how about now |
Got this error on Pop OS 22.04, so this fixed it