coldtype / st2

Advanced typography in Blender
https://coldtype.xyz/st2
GNU General Public License v3.0
95 stars 1 forks source link

NO PATHOPS FOUND #20

Open freder opened 3 months ago

freder commented 3 months ago

image

console output:

---ST2--- (0, 12)
>>> NO PATHOPS FOUND; please install either skia-pathops or booleanOperations
import:COLDTYPE:fail

which is odd because from what I can tell they are bundled with the plugin.

gwio commented 3 months ago

Same on Win with Blender 4.1 and 4.2 alpha. St2 v0.12

stenson commented 3 months ago

it looks like blender 4.1 has python3.11 embedded (where 4.0 had python3.10), which means the c-built libraries don't work

do these builds work?

gwio commented 3 months ago

Thx. This is working again on mac silicon and win on 4.1.

freder commented 3 months ago

works on my end as well 👍

kurmachu commented 3 months ago

I can't seem to get this working on Blender 4.1 Windows with ST2 0.14. image It's a fresh install of Blender 4.1 (though I did have a previous version, if that matters), and of course I tried all the generic troubleshooting steps like reinstalling the plugin and blender. I would love to be able to provide more information, but I'm not very familiar with python modules and how they interact with blender.

gwio commented 3 months ago

Can confirm. It worked with 0.14 on win once when I tested it. But I had 0.10 installed with the manual download during the same session. Without restarting, replacing it with 0.14 worked. But no longer after restarting. But mac version 0.14 still works normal.

kurmachu commented 2 months ago

To anyone still waiting for a fix and who hasn't figured this out yet, just installing manually using the development steps* works. From what I can tell with my very limited python package experience, it seems the latest zip has compiled libraries for the wrong version of python (they're listed as cp310 in the zip, which I assume is for python 3.10, and not 3.11. When you pip install manually during the steps, it seems to compile fine, giving a file with cp311.). This could be entirely wrong and misguided as I don't really know much about python, so uh use at own discretion but it seems to be working for me. image


*If you're on windows using powershell make sure you just run venv/Scripts/Activate.ps1 instead of the source command listed; there's no source for powershell and it gives you a nice prompt label.

jayliu50 commented 3 days ago

Still not working for me on 4.11. 3 hours later.

Went through the new instruction steps in the readme. Even when bundling the add-on myself, it doesn't work on 4.11. The zip file included in this thread also doesn't work, but it does on Blender 4.0.

And having to go through b3denv is an absolute nightmare on my computer. It's been extremely difficult to get b3denv to get running on the right version of python (which I assume has to be 3.11+ for Blender 4.1+), and targeting the right version of blender (running on windows where I end up with a bunch of different versions).

Deleting multiple versions of python and blender (and then updating paths, etc) hasn't helped.

https://github.com/coldtype/b3denv/issues/3

jayliu50 commented 10 hours ago

Update: got mine to work after a LOT of troubleshooting.

I think my issue was that I was using a Microsoft Store version of Blender, where the surrounding directories are very much locked down. Not even sure if b3denv will work with a MS Store version, but that's another story.

Here's how I got it to work with a MS Store install of Blender:

  1. Install a matching Blender version from the Blender website into its default folder like C:\Program Files\Blender Foundation\Blender 4.1. Yep now you have an additional installation.
  2. Follow the new steps to install. It's critical that b3denv references the Blender in the default folder C:\Program Files\Blender Foundation\Blender 4.1.
  3. Now back to the MS Store Blender. Add a custom add-on directory to Blender
  4. Copy the resulting ST2 folder from step 1 over to your custom add-on directory. Note that the custom add-on directory must have a folder called addons. The result should be addons/ST2. (Creating a SymbolicLink on Windows didn't seem to work. It'll just say, Can't find the module ST2)
  5. In MS Store Blender, under add-ons, refresh, then enable ST2.

(Why do I keep using the MS Store version? Well, it seems to do auto updates. And also, despite every effort, I can't seem to migrate all my prefs, etc. to the default installation location.)