How to build python with --enable-framework (--enable-shared) on macos?

Viewed 1805

I want to use PyInstaller to build a MultiOS application. The Project already has a virtual environment using the venv which comes with python by default (have not installed pyenv). I ran into multiple problems and searched a lot. Finally I've come to the conclusion that the problem is my installed version of python does not have shared framework enabled and I have to rebuild my python? I actually have to no clue how to do that. Any help or a link of how to do it would really be appreciated. Thank you very much.

This is the error, which directed me here:

If you're building Python by yourself, please rebuild your Python with '--enable-shared' (or, '--enable-framework' on Darwin)

0 Answers
Related