Skip to content

Commit

Permalink
Quote pip installs correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohinb2 committed Jul 18, 2024
1 parent 5875d9b commit 1279cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runhouse/resources/packages/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _pip_install_cmd(
f"{str(Path(self.install_target.local_path).absolute())}" + install_args
)
else:
install_cmd = self.install_target + install_args
install_cmd = f'"{self.install_target}" {install_args}'

install_cmd = f"pip install {self._install_cmd_for_torch(install_cmd, cluster)}"
install_cmd = self._prepend_python_executable(
Expand Down

0 comments on commit 1279cbb

Please sign in to comment.