summaryrefslogtreecommitdiff
path: root/buildscripts/linter
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-10 11:42:47 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-10 11:42:47 -0400
commitf4feba485b6620518d6569c2bcfda2d2dd12d050 (patch)
tree8300674ef31923ba2d55f563ef79c467867c53e7 /buildscripts/linter
parent6ad0264d3e2633439b3adeda97f5eb52240b1fc0 (diff)
downloadmongo-f4feba485b6620518d6569c2bcfda2d2dd12d050.tar.gz
SERVER-40542 Remove references to pip2
Diffstat (limited to 'buildscripts/linter')
-rw-r--r--buildscripts/linter/runner.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/buildscripts/linter/runner.py b/buildscripts/linter/runner.py
index af2a83de62d..de8ae2a5852 100644
--- a/buildscripts/linter/runner.py
+++ b/buildscripts/linter/runner.py
@@ -72,7 +72,7 @@ def _find_linter(linter, config_dict):
python_dir = os.path.dirname(sys.executable)
if sys.platform == "win32":
# On Windows, these scripts are installed in %PYTHONDIR%\scripts like
- # 'C:\Python27\scripts', and have .exe extensions.
+ # 'C:\Python37\scripts', and have .exe extensions.
python_dir = os.path.join(python_dir, "scripts")
cmd_str = os.path.join(python_dir, linter.cmd_name)
@@ -132,12 +132,11 @@ def find_linters(linter_list, config_dict):
Could not find the correct version of linter '%s', expected '%s'. Check your
PATH environment variable or re-run with --verbose for more information.
-To fix, install the needed python modules for both Python 2.7, and Python 3.x:
- sudo pip2 install -r etc/pip/lint-requirements.txt
+To fix, install the needed python modules for Python 3.x:
sudo pip3 install -r etc/pip/lint-requirements.txt
These commands are typically available via packages with names like python-pip,
-python2-pip, and python3-pip. See your OS documentation for help.
+or python3-pip. See your OS documentation for help.
""", linter.cmd_name, linter.required_version)
return None