thx for the patience. I'm not very familiar with python and I am trying to use a tabulate import but get errors.
Traceback (most recent call last): File "\CheckObejctSize.py", line 5, in ModuleNotFoundError: No module named 'tabulate' Error: Python script failed, check the message in the system console
I've read a whole bunch of threads on what to do, but none have helped. I was going to use the blender/pip to add tabulate but I can't seem to even find pip.
I found a thread that suggested:
import ensurepip
ensurepip.bootstrap()
pybin = bpy.app.binary_path_python
subprocess.check_call([pybin, '-m', 'pip', 'install', 'tabulate'])
which produced Defaulting to user installation because normal site-packages is not writeable Looking in links: c:\Users\Jon\AppData\Local\Temp\tmp99hzlnij Requirement already satisfied: setuptools in c:\program files\blender foundation\blender 3.0\3.0\python\lib\site-packages (57.4.0) Requirement already satisfied: pip in c:\program files\blender foundation\blender 3.0\3.0\python\lib\site-packages (21.2.3) Traceback (most recent call last): File "\CheckObejctSize.py", line 10, in AttributeError: 'bpy.app' object has no attribute 'binary_path_python' Error: Python script failed, check the message in the system console
Why can't I find pip when it seems that it's already there and how can I get tabulate import working in Blender 3.0 scripting?