Pullusb / Tesselate_texture_plane

Blender addon - Triangulate your textured mesh while discarding alpha zones
GNU General Public License v3.0
126 stars 11 forks source link

Issues installing on MacOS #15

Open papernoise opened 1 year ago

papernoise commented 1 year ago

Thee's several issues with getting this to run on MacOS:

My system's specs are:

Here's some more terminal output:

Collecting opencv-python Downloading opencv-python-4.7.0.72.tar.gz (91.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.1/91.1 MB 7.2 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: opencv-python Building wheel for opencv-python (pyproject.toml) ... |

Pullusb commented 1 year ago

Hi, I can't really solve those problems, this is mostly due to the module dependency installation itself. Maybe, try to locate and delete the cv2 or opencv in the site-package folder and retry. You can also try to install the module manually.

Some Mac users sometimes get in touch with me, but I never test things on Mac, simply because I don't have any (nor my friends).

If I have the time, I'll try to add a dependency checker in addon preferences. But that's about all I can do about this. Will keep you updated if I update anything on that aspect.

papernoise commented 1 year ago

I tried all the things things, also isntalled the Blender Pip addon. Nothing seems to work, Blender freezes most of the time. Sounds more like a Pip problem to me than one with your addon. Also, just for the record, triangle was installed automatically just fine. It's just openCV that doesn't work.

Some Mac users sometimes get in touch with me, but I never test things on Mac, simply because I don't have any (nor my friends).

To be honest, MacOS generally isn't a great platform for Blender, so I can totally understand this.

Fortunately I do have a Windows computer as well (where the addon installed just fine). It would have been nice to be able to use the addon on the Mac as well, since that's my primary workstation, but it's not a big deal.

Thanks a lot for making this addon btw! I've been looking for something like this for some time!

Pullusb commented 1 year ago

There must be a way to get opencv separately with standard python pip (using same python version as blender) and then put cv2 and all its dependency in blender python site-packages...

I suppose you already tried installing in python standalone ? With pip install opencv-python (or pip3 install opencv-python)

I wish I could test what's going with those Mac... I'll let this issue open for potential other Mac user coming here. Tell me if you find any solution.

Happy blending anyway.

papernoise commented 1 year ago

I suppose you already tried installing in python standalone ?

That I didn't try no. Generally I prefer to leave these things to the people who know what they are doing 😄