Jelajahi Sumber

Update invalid pip install flag (#18146)

Joel Challis 2 tahun lalu
induk
melakukan
3d8c624698
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lib/python/qmk/cli/__init__.py

+ 1 - 1
lib/python/qmk/cli/__init__.py

@@ -91,7 +91,7 @@ def _install_deps(requirements):
 
 
     elif not os.access(sys.prefix, os.W_OK):
     elif not os.access(sys.prefix, os.W_OK):
         # We can't write to sys.prefix, attempt to install locally
         # We can't write to sys.prefix, attempt to install locally
-        command.append('--local')
+        command.append('--user')
 
 
     return _run_cmd(*command, '-r', requirements)
     return _run_cmd(*command, '-r', requirements)