Update install_modules.py
Browse files- install_modules.py +4 -1
install_modules.py
CHANGED
|
@@ -75,6 +75,9 @@ if __name__ == "__main__":
|
|
| 75 |
|
| 76 |
# Создание полного пути к папке Python
|
| 77 |
python_path = os.path.join(current_dir, "python_embeded")
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
# Определение путей к git
|
| 80 |
git_path = os.path.join(current_dir, "git")
|
|
@@ -82,7 +85,7 @@ if __name__ == "__main__":
|
|
| 82 |
git_libexec_path = os.path.join(git_path, "libexec")
|
| 83 |
|
| 84 |
# Обновление переменной PATH
|
| 85 |
-
os.environ['PATH'] = f"{git_path};{git_bin_path};{git_libexec_path}"
|
| 86 |
# os.environ['PATH'] = f"{git_path};{git_bin_path};{git_libexec_path};{os.environ['PATH']}"
|
| 87 |
|
| 88 |
# Установка Comfy
|
|
|
|
| 75 |
|
| 76 |
# Создание полного пути к папке Python
|
| 77 |
python_path = os.path.join(current_dir, "python_embeded")
|
| 78 |
+
|
| 79 |
+
# Создание полного пути к папке Scripts
|
| 80 |
+
python_scripts_path = os.path.join(python_path, "Scripts")
|
| 81 |
|
| 82 |
# Определение путей к git
|
| 83 |
git_path = os.path.join(current_dir, "git")
|
|
|
|
| 85 |
git_libexec_path = os.path.join(git_path, "libexec")
|
| 86 |
|
| 87 |
# Обновление переменной PATH
|
| 88 |
+
os.environ['PATH'] = f"{git_path};{git_bin_path};{git_libexec_path};{python_scripts_path}"
|
| 89 |
# os.environ['PATH'] = f"{git_path};{git_bin_path};{git_libexec_path};{os.environ['PATH']}"
|
| 90 |
|
| 91 |
# Установка Comfy
|