install dependencies to astrolobot folder

This commit is contained in:
2025-07-16 20:21:55 -07:00
parent 973ef9d338
commit 742ae622d2
+4 -3
View File
@@ -168,10 +168,11 @@ def script_load(settings):
global save global save
if not obspython.obs_data_get_bool(settings,'pip_done'): if not obspython.obs_data_get_bool(settings,'pip_done'):
import pip import pip,sys
pip.main(['install','-qqq','pyswisseph','twitchio','twitchio[starlette]']) pip.main(['install','-qqq','pyswisseph','twitchio','twitchio[starlette]','--target',script_path()])
obspython.obs_data_set_bool(settings,'pip_done',True) obspython.obs_data_set_bool(settings,'pip_done',True)
sys.path.append(script_path())
download_files() download_files()
obs_settings=settings obs_settings=settings