mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Fix fall back to system python should not change the python bin inside the new venv
This commit is contained in:
parent
c76dfe7ce6
commit
ba854aa53b
@ -84,7 +84,6 @@ class VirtualenvPip(SystemPip, PackageManager):
|
|||||||
print("WARNING: virtualenv and venv failed with [{}] trying virtualenv with python [{}]".format(
|
print("WARNING: virtualenv and venv failed with [{}] trying virtualenv with python [{}]".format(
|
||||||
self.python, sys.executable))
|
self.python, sys.executable))
|
||||||
self.python = str(sys.executable)
|
self.python = str(sys.executable)
|
||||||
self._bin = Path(self.python)
|
|
||||||
self.session.command(
|
self.session.command(
|
||||||
self.python, "-m", "virtualenv", self.path, *self.create_flags()
|
self.python, "-m", "virtualenv", self.path, *self.create_flags()
|
||||||
).check_call()
|
).check_call()
|
||||||
|
Loading…
Reference in New Issue
Block a user