Skip to content
Snippets Groups Projects
Unverified Commit 1b2825ec authored by Ellis Percival's avatar Ellis Percival Committed by GitHub
Browse files

Merge pull request #134 from adrian-vlad/feature/python3_module_requirements

Requirements are installed for the correct version of python
parents 8cb374e5 eccccdb3
No related branches found
No related tags found
No related merge requests found
...@@ -320,7 +320,7 @@ def install_missing_requirements(module): ...@@ -320,7 +320,7 @@ def install_missing_requirements(module):
from subprocess import check_call, CalledProcessError from subprocess import check_call, CalledProcessError
try: try:
check_call(["/usr/bin/env", "pip", "install"] + pkgs_required) check_call([sys.executable, "-m", "pip", "install"] + pkgs_required)
except CalledProcessError as err: except CalledProcessError as err:
raise CannotInstallModuleRequirements( raise CannotInstallModuleRequirements(
"Unable to install packages for module %r (%s): %s" "Unable to install packages for module %r (%s): %s"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment