Skip to content

Commit

Permalink
Disable pip cache to avoid MemoryError when installing large package
Browse files Browse the repository at this point in the history
Also there is no need to cache packages as they are only installed once
  • Loading branch information
xxyzz committed Apr 21, 2022
1 parent ca8fbb5 commit 0d08323
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def pip_args(self, pkg, pkg_version, compiled, url):
"-t",
self.libs_path,
"--no-deps",
"--no-cache-dir",
]
if compiled:
args.extend(["--python-version", self.py_v])
Expand Down

0 comments on commit 0d08323

Please sign in to comment.