taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
483 stars 69 forks source link

Python 3.10 #93

Open K0K0ze opened 2 years ago

K0K0ze commented 2 years ago

Blender 3.0 uses 3.9 python but the new versions of Blender (3.1 and 3.2) are using Python 3.10

Because of that, the Taichi module can't be installed with Blender 3.1 and above since it doesn't support the 3.10 python version.

archibate commented 2 years ago

Binaries bound to python version, this is thank to pybind11 which is currently used by taichi. I always wonder why pybind11 must bound to a specific python version.. without pybind11, taichi could only release 3 binary packages instead of 3x4 packages for the cartesian product of os and py version..

无法顺畅的大口呼吸,是活着的最好证明

---Original--- From: "koko @.> Date: Fri, Feb 25, 2022 03:11 AM To: @.>; Cc: @.***>; Subject: [taichi-dev/taichi_elements] Python 3.10 (Issue #93)

Blender 3.0 uses 3.9 python but the new versions of Blender (3.1 and 3.2) are using Python 3.10

Because of that, the Taichi module can't be installed with Blender 3.1 and above since it doesn't support the 3.10 python version.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Geramy commented 2 years ago

Blender 3.0 uses 3.9 python but the new versions of Blender (3.1 and 3.2) are using Python 3.10

Because of that, the Taichi module can't be installed with Blender 3.1 and above since it doesn't support the 3.10 python version.

You actually can install this, if you do the install procedures and then install taichi using pip on your locally installed python and then move the packages from the pip installed repo in which it will tell you where it is but you move it from there to the libs section of blender and you can enable the addon.