File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ virtualenv_module <- function(python) {
450
450
if (python_has_module(python , " easy_install" )) {
451
451
commands $ push(paste(" $" , python , " -m easy_install --upgrade --user pip" ))
452
452
} else if (is_ubuntu() && dirname(python ) == " /usr/bin" ) {
453
- package <- if (py_version < 3 ) " python-pip" else " python3-pip"
453
+ package <- if (py_version < " 3 " ) " python-pip" else " python3-pip"
454
454
commands $ push(paste(" $ sudo apt-get install" , package ))
455
455
} else {
456
456
commands $ push(" $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py" )
@@ -462,7 +462,7 @@ virtualenv_module <- function(python) {
462
462
# then, recommend installation of virtualenv or venv with pip
463
463
commands $ push(paste(" Install" , modules [[1 ]], " with:" ))
464
464
if (is_ubuntu() && dirname(python ) == " /usr/bin" ) {
465
- package <- if (py_version < 3 ) " python-virtualenv" else " python3-venv"
465
+ package <- if (py_version < " 3 " ) " python-virtualenv" else " python3-venv"
466
466
commands $ push(paste(" $ sudo apt-get install" , package ))
467
467
} else {
468
468
commands $ push(paste(" $" , python , " -m pip install --upgrade --user" , module ))
You can’t perform that action at this time.
0 commit comments