浏览代码

Update invalid pip install flag (#18146)

Joel Challis 2 年之前
父节点
当前提交
3d8c624698
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):
         # We can't write to sys.prefix, attempt to install locally
-        command.append('--local')
+        command.append('--user')
 
     return _run_cmd(*command, '-r', requirements)