nickrallison / obsidian-python-scripter

GNU General Public License v3.0
43 stars 8 forks source link

Virtual Environment Support (.venv) #14

Open ComicMasta opened 1 month ago

ComicMasta commented 1 month ago

Would it be possible to add support for each python script to have it's own virtual environment? Maybe putting each python script in its own folder inside scripts\python\ and that folder also contains the .venv sub folder? Then is the .venv subfolder exist, use that as the default environment for that script.

The reason for this request is I have a lot of different ideas for scripts that require different and sometimes non-compatible packages. These packages often don't play well together, or require specific version for compatibility, that need to be controlled.

Thank you for your consideration. This plug-in looks incredibly useful. Thank you for creating it!

nickrallison commented 1 month ago

I'm happy I could help! I think I implemented this in the newest release, let me know if this solves your issue & I can close it