30350n/pcb2blender

python bundled with Blender 3.4.1 does not have the pip module

Snevzor opened this issue · 3 comments

~/blender-3.4.1-linux-x64/3.4/python/bin$ ./python3.10 -m pip
/home/sven/blender-3.4.1-linux-x64/3.4/python/bin/python3.10: No module named pip

Traceback (most recent call last):
File "/home/sven/blender-3.4.1-linux-x64/3.4/scripts/modules/addon_utils.py", line 333, in enable
mod = import(module_name)
File "/home/sven/.config/blender/3.4/scripts/addons/pcb2blender_importer/init.py", line 36, in
subprocess.check_call((
File "/home/sven/blender-3.4.1-linux-x64/3.4/python/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('/home/sven/blender-3.4.1-linux-x64/3.4/python/bin/python3.10', '-m', 'pip', 'install', '--no-deps', 'skia-python', '-t', '/home/sven/.config/blender/3.4/scripts/addons/pcb2blender_importer/site-packages')' returned non-zero exit status 1.

"pip", "install", "--no-deps", *missing, "-t", str(dependency_path)

Tested with v2.3

Checkout #13

Thanks! My apologies for not checking earlier issues.

No worries. I'm currently looking into automating dependency/pip installation further. This should make this process more straight forward in the future.