Tesselate_texture_plane icon indicating copy to clipboard operation
Tesselate_texture_plane copied to clipboard

Issues installing on MacOS

Open papernoise opened this issue 1 year ago • 4 comments

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

  • There's no visual feedback of any kind about the installation of the required modules and dependencies, the only way to know what's going on is to launch Blender from terminal, but that is not something most people are aware of.
  • The installation of OpenCV does freeze on my system at the "Building wheel for opencv-python (pyproject.toml) ... " line
  • running as Admin is not an option, because that will install the addon and modules in the root user folder

My system's specs are:

  • MacOS 10.15.7
  • Blender 3.4.1

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) ... |

papernoise avatar Mar 30 '23 07:03 papernoise

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.

Pullusb avatar Mar 30 '23 15:03 Pullusb

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!

papernoise avatar Mar 31 '23 09:03 papernoise

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.

Pullusb avatar Mar 31 '23 10:03 Pullusb

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 😄

papernoise avatar Mar 31 '23 13:03 papernoise