Skip to content

Commit

Permalink
Disable site dir in updater when doing pip install.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Mar 3, 2024
1 parent 12c1080 commit 0db3111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/update_windows/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def file_size(f):
if not os.path.exists(req_path) or not files_equal(repo_req_path, req_path):
import subprocess
try:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', repo_req_path])
subprocess.check_call([sys.executable, '-s', '-m', 'pip', 'install', '-r', repo_req_path])
shutil.copy(repo_req_path, req_path)
except:
pass

0 comments on commit 0db3111

Please sign in to comment.