Importing flopy modfies PATH environment variable and overrides user settings #2032
-
I'm posting this here, as I'm not sure whether this qualifies as bug or turns out to be more of a user question. I was working with a custom version of Modflow6 in a separate environment. In my shell, That is a bit annoying, because that then requires you to either edit your PATH again, or explicitly tell your MFSimulations which binary they should use. So, is this desired behavior? Or would it be better to append to the PATH instead of prepending flopy's default bin folder? The relevant code in Lines 31 to 36 in 9c6c234 Thanks in advance for taking a look! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Appending instead of prepending to PATH in |
Beta Was this translation helpful? Give feedback.
-
This analysis make sense to append the path instead of prepending, so agree that it could change for a future release. Another workaround is to remove the flopy bin folder. |
Beta Was this translation helpful? Give feedback.
This analysis make sense to append the path instead of prepending, so agree that it could change for a future release.
Another workaround is to remove the flopy bin folder.