fix: package installation setup errors
This commit is contained in:
parent
0992c06133
commit
591a1e88ba
@ -20,9 +20,9 @@ from bpy.app.handlers import persistent
|
||||
from . import environment, utils
|
||||
|
||||
DEPENDENCIES = {
|
||||
"zmq",
|
||||
"umsgpack",
|
||||
"pyyaml"
|
||||
("zmq","zmq"),
|
||||
("umsgpack","umsgpack"),
|
||||
("yaml","pyyaml")
|
||||
}
|
||||
|
||||
|
||||
|
@ -139,6 +139,6 @@ def setup(dependencies, python_path):
|
||||
if not module_can_be_imported("pip"):
|
||||
install_pip()
|
||||
|
||||
for dep in dependencies:
|
||||
if not module_can_be_imported(dep):
|
||||
install_package(dep)
|
||||
for module_name,package_name in dependencies:
|
||||
if not module_can_be_imported(module_name):
|
||||
install_package(package_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user