mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
13 lines
405 B
Diff
13 lines
405 B
Diff
|
diff --git a/src/octoprint/util/pip.py b/src/octoprint/util/pip.py
|
||
|
index 53500e5d5..39f76c1e5 100644
|
||
|
--- a/src/octoprint/util/pip.py
|
||
|
+++ b/src/octoprint/util/pip.py
|
||
|
@@ -284,6 +284,7 @@ class PipCaller(CommandlineCaller):
|
||
|
@classmethod
|
||
|
def autodetect_pip(cls):
|
||
|
commands = [
|
||
|
+ ["@pip@"],
|
||
|
[sys.executable, "-m", "pip"],
|
||
|
[
|
||
|
os.path.join(
|