Python module( sympy)

Hello, I have a huge problem, I can t open the bin/python3.9 file(encoding windows-1252) with my m1 MacBook, although I download the Mac version. It says that the file needs to be UTF-8 encoding. So I don t have access on python.exe of blender. Is there any other way to use pip packages on blender?

Thank you.

From within Blender sys.executable should point to the Python binary bundled with Blender, that should always work.

Try this within Blender’s Python console.

import sys, subprocess
subprocess.check_output([sys.executable, "--version"])

It should print b'Python 3.10.5\n' or similar.