fix: package installation on linux

Related to #74
This commit is contained in:
Swann 2020-05-27 15:57:57 +02:00
parent fc1108ab61
commit 8027e541c3
No known key found for this signature in database
GPG Key ID: 5E0D936BD280E963
2 changed files with 1 additions and 20892 deletions

View File

@ -42,8 +42,7 @@ def module_can_be_imported(name):
def install_pip():
# pip can not necessarily be imported into Blender after this
get_pip_path = Path(__file__).parent / "libs" / "get-pip.py"
subprocess.run([str(PYTHON_PATH), str(get_pip_path)], cwd=SUBPROCESS_DIR)
subprocess.run([str(PYTHON_PATH), "-m", "ensurepip"])
def install_package(name):

File diff suppressed because it is too large Load Diff