marcelotduarte / cx_Freeze

cx_Freeze creates standalone executables from Python scripts, with the same performance, is cross-platform and should work on any platform that Python itself works on.
https://marcelotduarte.github.io/cx_Freeze/
Other
1.35k stars 218 forks source link

Installation of cx_Freeze fails in M1 (Apple Silicon) MacBook Air. (ld: library not found for -lintl) #1335

Closed shinshin86 closed 2 years ago

shinshin86 commented 2 years ago

Describe the bug Hi! cx_Freeze is a very nice tool. However, I tried to install cx_Freeze on my M1 (Apple Silicon) MacBook Air, but I got the following error and it failed.

$ pip install --upgrade cx_Freeze
Collecting cx_Freeze
  Using cached cx_Freeze-6.9.tar.gz (144 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: importlib-metadata>=4.3.1 in /Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages (from cx_Freeze) (4.10.0)
Requirement already satisfied: zipp>=0.5 in /Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages (from importlib-metadata>=4.3.1->cx_Freeze) (3.7.0)
Building wheels for collected packages: cx-Freeze
  Building wheel for cx-Freeze (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/username/.pyenv/versions/3.10.1/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-wheel-0hmihedy
       cwd: /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/
  Complete output (41 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.6-arm64-3.10
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/macdist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/finder.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/exception.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/hooks.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/freezer.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/winmsvcr.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/darwintools.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/patchelf.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/windist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/__init__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/setupwriter.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/cli.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/common.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/winversioninfo.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/executable.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/module.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/__main__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/dist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/Console.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/SharedLib.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/__startup__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  running build_ext
  running install_include
  creating build/temp.macosx-11.6-arm64-3.10
  creating build/temp.macosx-11.6-arm64-3.10/source
  creating build/temp.macosx-11.6-arm64-3.10/source/bases
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/ncurses/include -I/Users/username/.pyenv/versions/3.10.1/include/python3.10 -c source/bases/Console.c -o build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases
  clang build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o -L/Users/username/.pyenv/versions/3.10.1/lib/python3.10/config-3.10-darwin -L/Users/username/.pyenv/versions/3.10.1/lib -lpython3.10 -o build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases/Console-cp310-macosx-116-arm64 -lintl -ldl -framework CoreFoundation -Wl,-export_dynamic
  ld: library not found for -lintl
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command '/usr/bin/clang' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for cx-Freeze
  Running setup.py clean for cx-Freeze
Failed to build cx-Freeze
Installing collected packages: cx-Freeze
    Running setup.py install for cx-Freeze ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/username/.pyenv/versions/3.10.1/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-record-vgfb3blk/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/.pyenv/versions/3.10.1/include/python3.10/cx-Freeze
         cwd: /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/
    Complete output (41 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-11.6-arm64-3.10
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/macdist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/finder.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/exception.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/hooks.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/freezer.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/winmsvcr.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/darwintools.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/patchelf.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/windist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/__init__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/setupwriter.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/cli.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/common.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/winversioninfo.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/executable.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/module.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/__main__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/dist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/Console.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLib.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/__startup__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    running build_ext
    running install_include
    creating build/temp.macosx-11.6-arm64-3.10
    creating build/temp.macosx-11.6-arm64-3.10/source
    creating build/temp.macosx-11.6-arm64-3.10/source/bases
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/ncurses/include -I/Users/username/.pyenv/versions/3.10.1/include/python3.10 -c source/bases/Console.c -o build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases
    clang build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o -L/Users/username/.pyenv/versions/3.10.1/lib/python3.10/config-3.10-darwin -L/Users/username/.pyenv/versions/3.10.1/lib -lpython3.10 -o build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases/Console-cp310-macosx-116-arm64 -lintl -ldl -framework CoreFoundation -Wl,-export_dynamic
    ld: library not found for -lintl
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/clang' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/username/.pyenv/versions/3.10.1/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-dlyed7fg/cx-freeze_3ec65de3cbd44880ba5433e61e9531ea/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-record-vgfb3blk/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/.pyenv/versions/3.10.1/include/python3.10/cx-Freeze Check the logs for full command output.

I have looked at the error log and think that this may be the cause of this part of the problem. Since I couldn't find a similar problem by searching Google, I decided to ask if anyone else has the same problem directly on this page.

ld: library not found for -lintl
clang: error: linker command failed with exit code 1

And, I found a similar issue in these issues, but these issues were already closed and I thought it might be another issue, so I registered an issue.

https://github.com/marcelotduarte/cx_Freeze/issues/168 https://github.com/marcelotduarte/cx_Freeze/issues/134

To Reproduce I used this command to install the software.

pip install --upgrade cx_Freeze

Expected behavior The installation will complete successfully.

Desktop (please complete the following information):

Additional context This problem only occurs in the M1 (Apple Silicon) Mac. I created a similar environment on an Intel chip MacBook Pro and tried to install cx_Freeze, and it completed the installation successfully there.

marcelotduarte commented 2 years ago

Hi! Try with --enable-framework Also, send me the output of: python -m sysconfig

shinshin86 commented 2 years ago

@marcelotduarte Thanks for the reply! OK, I installed Python again with the following command.

PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.10.1

The result of running python -m sysconfig is here.

Platform: "macosx-11.6-arm64"
Python version: "3.10"
Current installation scheme: "posix_prefix"

Paths: 
    data = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10"
    include = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10"
    platinclude = "/Users/username/.pyenv/versions/3.10.1/include/python3.10"
    platlib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages"
    platstdlib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    purelib = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages"
    scripts = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin"
    stdlib = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10"

Variables: 
    ABIFLAGS = ""
    AC_APPLE_UNIVERSAL_BUILD = "0"
    AIX_BUILDDATE = "0"
    AIX_GENUINE_CPLUSPLUS = "0"
    ALIGNOF_LONG = "8"
    ALIGNOF_SIZE_T = "8"
    ALT_SOABI = "0"
    ANDROID_API_LEVEL = "0"
    AR = "ar"
    ARFLAGS = "rcs"
    BASECFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic"
    BASECPPFLAGS = ""
    BASEMODLIBS = ""
    BINDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin"
    BINLIBDEST = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    BLDLIBRARY = ""
    BLDSHARED = "clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    BUILDEXE = ".exe"
    BUILDPYTHON = "python.exe"
    BUILD_GNU_TYPE = "aarch64-apple-darwin20.6.0"
    BYTESTR_DEPS = "\"
    CC = "clang"
    CCSHARED = ""
    CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    CFLAGSFORSHARED = ""
    CFLAGS_ALIASING = "-fno-strict-aliasing"
    CFLAGS_NODIST = ""
    CONFIGFILES = "configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
    CONFIGURE_CFLAGS = "-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    CONFIGURE_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden"
    CONFIGURE_CPPFLAGS = "-I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    CONFIGURE_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    CONFIGURE_LDFLAGS_NODIST = ""
    CONFIG_ARGS = "'--prefix=/Users/username/.pyenv/versions/3.10.1' '--enable-framework' '--libdir=/Users/username/.pyenv/versions/3.10.1/lib' '--enable-framework=/Users/username/.pyenv/versions/3.10.1/Library/Frameworks' '--with-openssl=/opt/homebrew/opt/openssl@1.1' '--with-tcltk-libs=-L/opt/homebrew/opt/tcl-tk/lib -ltcl8.6 -ltk8.6' '--with-tcltk-includes=-I/opt/homebrew/opt/tcl-tk/include' 'CC=clang' 'CFLAGS=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include  ' 'LDFLAGS=-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib' 'CPPFLAGS=-I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include' 'PKG_CONFIG_PATH=/opt/homebrew/opt/openssl@1.1/lib/pkgconfig/:'"
    CONFINCLUDEDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include"
    CONFINCLUDEPY = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10"
    COREPYTHONPATH = ""
    COVERAGE_INFO = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1/coverage.info"
    COVERAGE_REPORT = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1/lcov-report"
    COVERAGE_REPORT_OPTIONS = "--no-branch-coverage --title "CPython lcov report""
    CPPFLAGS = "-I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    CXX = "clang++"
    DESTDIRS = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10 /Users/username/.pyenv/versions/3.10.1/lib /Users/username/.pyenv/versions/3.10.1/lib/python3.10 /Users/username/.pyenv/versions/3.10.1/lib/python3.10/lib-dynload"
    DESTLIB = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10"
    DESTPATH = ""
    DESTSHARED = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/lib-dynload"
    DFLAGS = ""
    DIRMODE = "755"
    DIST = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in Include Lib Misc Ext-dummy"
    DISTDIRS = "Include Lib Misc Ext-dummy"
    DISTFILES = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
    DLINCLDIR = "."
    DLLLIBRARY = ""
    DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 = "0"
    DOUBLE_IS_BIG_ENDIAN_IEEE754 = "0"
    DOUBLE_IS_LITTLE_ENDIAN_IEEE754 = "1"
    DTRACE = ""
    DTRACE_DEPS = "\"
    DTRACE_HEADERS = ""
    DTRACE_OBJS = ""
    DYNLOADFILE = "dynload_shlib.o"
    ENABLE_IPV6 = "1"
    ENSUREPIP = "upgrade"
    EXE = ""
    EXEMODE = "755"
    EXPERIMENTAL_ISOLATED_SUBINTERPRETERS = "0"
    EXPORTSFROM = ""
    EXPORTSYMS = ""
    EXTRATESTOPTS = ""
    EXTRA_CFLAGS = ""
    EXT_SUFFIX = ".cpython-310-darwin.so"
    FILEMODE = "644"
    FLOAT_WORDS_BIGENDIAN = "0"
    FLOCK_NEEDS_LIBBSD = "0"
    GETPGRP_HAVE_ARG = "0"
    GITBRANCH = ""
    GITTAG = ""
    GITVERSION = ""
    GNULD = "no"
    HAVE_ACCEPT4 = "0"
    HAVE_ACOSH = "1"
    HAVE_ADDRINFO = "1"
    HAVE_ALARM = "1"
    HAVE_ALIGNED_REQUIRED = "0"
    HAVE_ALLOCA_H = "1"
    HAVE_ALTZONE = "0"
    HAVE_ASINH = "1"
    HAVE_ASM_TYPES_H = "0"
    HAVE_ATANH = "1"
    HAVE_BIND_TEXTDOMAIN_CODESET = "1"
    HAVE_BLUETOOTH_BLUETOOTH_H = "0"
    HAVE_BLUETOOTH_H = "0"
    HAVE_BROKEN_MBSTOWCS = "0"
    HAVE_BROKEN_NICE = "0"
    HAVE_BROKEN_PIPE_BUF = "0"
    HAVE_BROKEN_POLL = "0"
    HAVE_BROKEN_POSIX_SEMAPHORES = "0"
    HAVE_BROKEN_PTHREAD_SIGMASK = "0"
    HAVE_BROKEN_SEM_GETVALUE = "1"
    HAVE_BROKEN_UNSETENV = "0"
    HAVE_BUILTIN_ATOMIC = "1"
    HAVE_CHFLAGS = "1"
    HAVE_CHOWN = "1"
    HAVE_CHROOT = "1"
    HAVE_CLOCK = "1"
    HAVE_CLOCK_GETRES = "1"
    HAVE_CLOCK_GETTIME = "1"
    HAVE_CLOCK_SETTIME = "1"
    HAVE_CLOSE_RANGE = "0"
    HAVE_COMPUTED_GOTOS = "1"
    HAVE_CONFSTR = "1"
    HAVE_CONIO_H = "0"
    HAVE_COPYSIGN = "1"
    HAVE_COPY_FILE_RANGE = "0"
    HAVE_CRYPT_H = "0"
    HAVE_CRYPT_R = "0"
    HAVE_CTERMID = "1"
    HAVE_CTERMID_R = "1"
    HAVE_CURSES_FILTER = "1"
    HAVE_CURSES_H = "1"
    HAVE_CURSES_HAS_KEY = "1"
    HAVE_CURSES_IMMEDOK = "1"
    HAVE_CURSES_IS_PAD = "1"
    HAVE_CURSES_IS_TERM_RESIZED = "1"
    HAVE_CURSES_RESIZETERM = "1"
    HAVE_CURSES_RESIZE_TERM = "1"
    HAVE_CURSES_SYNCOK = "1"
    HAVE_CURSES_TYPEAHEAD = "1"
    HAVE_CURSES_USE_ENV = "1"
    HAVE_CURSES_WCHGAT = "1"
    HAVE_DECL_ISFINITE = "1"
    HAVE_DECL_ISINF = "1"
    HAVE_DECL_ISNAN = "1"
    HAVE_DECL_RTLD_DEEPBIND = "0"
    HAVE_DECL_RTLD_GLOBAL = "1"
    HAVE_DECL_RTLD_LAZY = "1"
    HAVE_DECL_RTLD_LOCAL = "1"
    HAVE_DECL_RTLD_MEMBER = "0"
    HAVE_DECL_RTLD_NODELETE = "1"
    HAVE_DECL_RTLD_NOLOAD = "1"
    HAVE_DECL_RTLD_NOW = "1"
    HAVE_DECL_TZNAME = "0"
    HAVE_DEVICE_MACROS = "1"
    HAVE_DEV_PTC = "0"
    HAVE_DEV_PTMX = "1"
    HAVE_DIRECT_H = "0"
    HAVE_DIRENT_D_TYPE = "1"
    HAVE_DIRENT_H = "1"
    HAVE_DIRFD = "1"
    HAVE_DLFCN_H = "1"
    HAVE_DLOPEN = "1"
    HAVE_DUP2 = "1"
    HAVE_DUP3 = "0"
    HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH = "1"
    HAVE_DYNAMIC_LOADING = "1"
    HAVE_ENDIAN_H = "0"
    HAVE_EPOLL = "0"
    HAVE_EPOLL_CREATE1 = "0"
    HAVE_ERF = "1"
    HAVE_ERFC = "1"
    HAVE_ERRNO_H = "1"
    HAVE_EVENTFD = "0"
    HAVE_EXECV = "1"
    HAVE_EXPLICIT_BZERO = "0"
    HAVE_EXPLICIT_MEMSET = "0"
    HAVE_EXPM1 = "1"
    HAVE_FACCESSAT = "1"
    HAVE_FCHDIR = "1"
    HAVE_FCHMOD = "1"
    HAVE_FCHMODAT = "1"
    HAVE_FCHOWN = "1"
    HAVE_FCHOWNAT = "1"
    HAVE_FCNTL_H = "1"
    HAVE_FDATASYNC = "0"
    HAVE_FDOPENDIR = "1"
    HAVE_FDWALK = "0"
    HAVE_FEXECVE = "0"
    HAVE_FINITE = "0"
    HAVE_FLOCK = "1"
    HAVE_FORK = "1"
    HAVE_FORKPTY = "1"
    HAVE_FPATHCONF = "1"
    HAVE_FSEEK64 = "0"
    HAVE_FSEEKO = "1"
    HAVE_FSTATAT = "1"
    HAVE_FSTATVFS = "1"
    HAVE_FSYNC = "1"
    HAVE_FTELL64 = "0"
    HAVE_FTELLO = "1"
    HAVE_FTIME = "1"
    HAVE_FTRUNCATE = "1"
    HAVE_FUTIMENS = "1"
    HAVE_FUTIMES = "1"
    HAVE_FUTIMESAT = "0"
    HAVE_GAI_STRERROR = "1"
    HAVE_GAMMA = "0"
    HAVE_GCC_ASM_FOR_MC68881 = "0"
    HAVE_GCC_ASM_FOR_X64 = "0"
    HAVE_GCC_ASM_FOR_X87 = "0"
    HAVE_GCC_UINT128_T = "1"
    HAVE_GETADDRINFO = "1"
    HAVE_GETC_UNLOCKED = "1"
    HAVE_GETENTROPY = "1"
    HAVE_GETGRGID_R = "1"
    HAVE_GETGRNAM_R = "1"
    HAVE_GETGROUPLIST = "1"
    HAVE_GETGROUPS = "1"
    HAVE_GETHOSTBYNAME = "1"
    HAVE_GETHOSTBYNAME_R = "0"
    HAVE_GETHOSTBYNAME_R_3_ARG = "0"
    HAVE_GETHOSTBYNAME_R_5_ARG = "0"
    HAVE_GETHOSTBYNAME_R_6_ARG = "0"
    HAVE_GETITIMER = "1"
    HAVE_GETLOADAVG = "1"
    HAVE_GETLOGIN = "1"
    HAVE_GETNAMEINFO = "1"
    HAVE_GETPAGESIZE = "1"
    HAVE_GETPEERNAME = "1"
    HAVE_GETPGID = "1"
    HAVE_GETPGRP = "1"
    HAVE_GETPID = "1"
    HAVE_GETPRIORITY = "1"
    HAVE_GETPWENT = "1"
    HAVE_GETPWNAM_R = "1"
    HAVE_GETPWUID_R = "1"
    HAVE_GETRANDOM = "0"
    HAVE_GETRANDOM_SYSCALL = "0"
    HAVE_GETRESGID = "0"
    HAVE_GETRESUID = "0"
    HAVE_GETSID = "1"
    HAVE_GETSPENT = "0"
    HAVE_GETSPNAM = "0"
    HAVE_GETWD = "1"
    HAVE_GLIBC_MEMMOVE_BUG = "0"
    HAVE_GRP_H = "1"
    HAVE_HSTRERROR = "1"
    HAVE_HTOLE64 = "0"
    HAVE_HYPOT = "1"
    HAVE_IEEEFP_H = "0"
    HAVE_IF_NAMEINDEX = "1"
    HAVE_INET_ATON = "1"
    HAVE_INET_PTON = "1"
    HAVE_INITGROUPS = "1"
    HAVE_INTTYPES_H = "1"
    HAVE_IO_H = "0"
    HAVE_IPA_PURE_CONST_BUG = "0"
    HAVE_KILL = "1"
    HAVE_KILLPG = "1"
    HAVE_KQUEUE = "1"
    HAVE_LANGINFO_H = "1"
    HAVE_LARGEFILE_SUPPORT = "0"
    HAVE_LCHFLAGS = "1"
    HAVE_LCHMOD = "1"
    HAVE_LCHOWN = "1"
    HAVE_LGAMMA = "1"
    HAVE_LIBDL = "1"
    HAVE_LIBDLD = "0"
    HAVE_LIBIEEE = "0"
    HAVE_LIBINTL_H = "1"
    HAVE_LIBREADLINE = "1"
    HAVE_LIBRESOLV = "0"
    HAVE_LIBSENDFILE = "0"
    HAVE_LIBUTIL_H = "0"
    HAVE_LIBUUID = "0"
    HAVE_LINK = "1"
    HAVE_LINKAT = "1"
    HAVE_LINUX_CAN_BCM_H = "0"
    HAVE_LINUX_CAN_H = "0"
    HAVE_LINUX_CAN_J1939_H = "0"
    HAVE_LINUX_CAN_RAW_FD_FRAMES = "0"
    HAVE_LINUX_CAN_RAW_H = "0"
    HAVE_LINUX_CAN_RAW_JOIN_FILTERS = "0"
    HAVE_LINUX_MEMFD_H = "0"
    HAVE_LINUX_NETLINK_H = "0"
    HAVE_LINUX_QRTR_H = "0"
    HAVE_LINUX_RANDOM_H = "0"
    HAVE_LINUX_TIPC_H = "0"
    HAVE_LINUX_VM_SOCKETS_H = "0"
    HAVE_LINUX_WAIT_H = "0"
    HAVE_LOCKF = "1"
    HAVE_LOG1P = "1"
    HAVE_LOG2 = "1"
    HAVE_LONG_DOUBLE = "1"
    HAVE_LSTAT = "1"
    HAVE_LUTIMES = "1"
    HAVE_MADVISE = "1"
    HAVE_MAKEDEV = "1"
    HAVE_MBRTOWC = "1"
    HAVE_MEMFD_CREATE = "0"
    HAVE_MEMORY_H = "1"
    HAVE_MEMRCHR = "0"
    HAVE_MKDIRAT = "1"
    HAVE_MKFIFO = "1"
    HAVE_MKFIFOAT = "0"
    HAVE_MKNOD = "1"
    HAVE_MKNODAT = "0"
    HAVE_MKTIME = "1"
    HAVE_MMAP = "1"
    HAVE_MREMAP = "0"
    HAVE_NCURSES_H = "1"
    HAVE_NDIR_H = "0"
    HAVE_NETPACKET_PACKET_H = "0"
    HAVE_NET_IF_H = "1"
    HAVE_NICE = "1"
    HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION = "0"
    HAVE_OPENAT = "1"
    HAVE_OPENPTY = "1"
    HAVE_PATHCONF = "1"
    HAVE_PAUSE = "1"
    HAVE_PIPE2 = "0"
    HAVE_PLOCK = "0"
    HAVE_POLL = "1"
    HAVE_POLL_H = "1"
    HAVE_POSIX_FADVISE = "0"
    HAVE_POSIX_FALLOCATE = "0"
    HAVE_POSIX_SPAWN = "1"
    HAVE_POSIX_SPAWNP = "1"
    HAVE_PREAD = "1"
    HAVE_PREADV = "1"
    HAVE_PREADV2 = "0"
    HAVE_PRLIMIT = "0"
    HAVE_PROCESS_H = "0"
    HAVE_PROTOTYPES = "1"
    HAVE_PTHREAD_CONDATTR_SETCLOCK = "0"
    HAVE_PTHREAD_DESTRUCTOR = "0"
    HAVE_PTHREAD_GETCPUCLOCKID = "0"
    HAVE_PTHREAD_H = "1"
    HAVE_PTHREAD_INIT = "0"
    HAVE_PTHREAD_KILL = "1"
    HAVE_PTHREAD_SIGMASK = "1"
    HAVE_PTY_H = "0"
    HAVE_PWRITE = "1"
    HAVE_PWRITEV = "1"
    HAVE_PWRITEV2 = "0"
    HAVE_READLINK = "1"
    HAVE_READLINKAT = "1"
    HAVE_READV = "1"
    HAVE_REALPATH = "1"
    HAVE_RENAMEAT = "1"
    HAVE_RL_APPEND_HISTORY = "1"
    HAVE_RL_CATCH_SIGNAL = "1"
    HAVE_RL_COMPLETION_APPEND_CHARACTER = "1"
    HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK = "1"
    HAVE_RL_COMPLETION_MATCHES = "1"
    HAVE_RL_COMPLETION_SUPPRESS_APPEND = "1"
    HAVE_RL_PRE_INPUT_HOOK = "1"
    HAVE_RL_RESIZE_TERMINAL = "1"
    HAVE_ROUND = "1"
    HAVE_RTPSPAWN = "0"
    HAVE_SCHED_GET_PRIORITY_MAX = "1"
    HAVE_SCHED_H = "1"
    HAVE_SCHED_RR_GET_INTERVAL = "0"
    HAVE_SCHED_SETAFFINITY = "0"
    HAVE_SCHED_SETPARAM = "0"
    HAVE_SCHED_SETSCHEDULER = "0"
    HAVE_SEM_CLOCKWAIT = "0"
    HAVE_SEM_GETVALUE = "1"
    HAVE_SEM_OPEN = "1"
    HAVE_SEM_TIMEDWAIT = "0"
    HAVE_SEM_UNLINK = "1"
    HAVE_SENDFILE = "1"
    HAVE_SETEGID = "1"
    HAVE_SETEUID = "1"
    HAVE_SETGID = "1"
    HAVE_SETGROUPS = "1"
    HAVE_SETHOSTNAME = "1"
    HAVE_SETITIMER = "1"
    HAVE_SETLOCALE = "1"
    HAVE_SETPGID = "1"
    HAVE_SETPGRP = "1"
    HAVE_SETPRIORITY = "1"
    HAVE_SETREGID = "1"
    HAVE_SETRESGID = "0"
    HAVE_SETRESUID = "0"
    HAVE_SETREUID = "1"
    HAVE_SETSID = "1"
    HAVE_SETUID = "1"
    HAVE_SETVBUF = "1"
    HAVE_SHADOW_H = "0"
    HAVE_SHM_OPEN = "1"
    HAVE_SHM_UNLINK = "1"
    HAVE_SIGACTION = "1"
    HAVE_SIGALTSTACK = "1"
    HAVE_SIGFILLSET = "1"
    HAVE_SIGINFO_T_SI_BAND = "1"
    HAVE_SIGINTERRUPT = "1"
    HAVE_SIGNAL_H = "1"
    HAVE_SIGPENDING = "1"
    HAVE_SIGRELSE = "1"
    HAVE_SIGTIMEDWAIT = "0"
    HAVE_SIGWAIT = "1"
    HAVE_SIGWAITINFO = "0"
    HAVE_SNPRINTF = "1"
    HAVE_SOCKADDR_ALG = "0"
    HAVE_SOCKADDR_SA_LEN = "1"
    HAVE_SOCKADDR_STORAGE = "1"
    HAVE_SOCKETPAIR = "1"
    HAVE_SPAWN_H = "1"
    HAVE_SPLICE = "0"
    HAVE_SSIZE_T = "1"
    HAVE_STATVFS = "1"
    HAVE_STAT_TV_NSEC = "0"
    HAVE_STAT_TV_NSEC2 = "1"
    HAVE_STDARG_PROTOTYPES = "1"
    HAVE_STDINT_H = "1"
    HAVE_STDLIB_H = "1"
    HAVE_STD_ATOMIC = "1"
    HAVE_STRFTIME = "1"
    HAVE_STRINGS_H = "1"
    HAVE_STRING_H = "1"
    HAVE_STRLCPY = "1"
    HAVE_STROPTS_H = "0"
    HAVE_STRSIGNAL = "1"
    HAVE_STRUCT_PASSWD_PW_GECOS = "1"
    HAVE_STRUCT_PASSWD_PW_PASSWD = "1"
    HAVE_STRUCT_STAT_ST_BIRTHTIME = "1"
    HAVE_STRUCT_STAT_ST_BLKSIZE = "1"
    HAVE_STRUCT_STAT_ST_BLOCKS = "1"
    HAVE_STRUCT_STAT_ST_FLAGS = "1"
    HAVE_STRUCT_STAT_ST_GEN = "1"
    HAVE_STRUCT_STAT_ST_RDEV = "1"
    HAVE_STRUCT_TM_TM_ZONE = "1"
    HAVE_SYMLINK = "1"
    HAVE_SYMLINKAT = "1"
    HAVE_SYNC = "1"
    HAVE_SYSCONF = "1"
    HAVE_SYSEXITS_H = "1"
    HAVE_SYS_AUDIOIO_H = "0"
    HAVE_SYS_BSDTTY_H = "0"
    HAVE_SYS_DEVPOLL_H = "0"
    HAVE_SYS_DIR_H = "0"
    HAVE_SYS_ENDIAN_H = "0"
    HAVE_SYS_EPOLL_H = "0"
    HAVE_SYS_EVENTFD_H = "0"
    HAVE_SYS_EVENT_H = "1"
    HAVE_SYS_FILE_H = "1"
    HAVE_SYS_IOCTL_H = "1"
    HAVE_SYS_KERN_CONTROL_H = "1"
    HAVE_SYS_LOADAVG_H = "0"
    HAVE_SYS_LOCK_H = "1"
    HAVE_SYS_MEMFD_H = "0"
    HAVE_SYS_MKDEV_H = "0"
    HAVE_SYS_MMAN_H = "1"
    HAVE_SYS_MODEM_H = "0"
    HAVE_SYS_NDIR_H = "0"
    HAVE_SYS_PARAM_H = "1"
    HAVE_SYS_POLL_H = "1"
    HAVE_SYS_RANDOM_H = "1"
    HAVE_SYS_RESOURCE_H = "1"
    HAVE_SYS_SELECT_H = "1"
    HAVE_SYS_SENDFILE_H = "0"
    HAVE_SYS_SOCKET_H = "1"
    HAVE_SYS_STATVFS_H = "1"
    HAVE_SYS_STAT_H = "1"
    HAVE_SYS_SYSCALL_H = "1"
    HAVE_SYS_SYSMACROS_H = "0"
    HAVE_SYS_SYS_DOMAIN_H = "1"
    HAVE_SYS_TERMIO_H = "0"
    HAVE_SYS_TIMES_H = "1"
    HAVE_SYS_TIME_H = "1"
    HAVE_SYS_TYPES_H = "1"
    HAVE_SYS_UIO_H = "1"
    HAVE_SYS_UN_H = "1"
    HAVE_SYS_UTSNAME_H = "1"
    HAVE_SYS_WAIT_H = "1"
    HAVE_SYS_XATTR_H = "1"
    HAVE_TCGETPGRP = "1"
    HAVE_TCSETPGRP = "1"
    HAVE_TEMPNAM = "1"
    HAVE_TERMIOS_H = "1"
    HAVE_TERM_H = "1"
    HAVE_TGAMMA = "1"
    HAVE_TIMEGM = "1"
    HAVE_TIMES = "1"
    HAVE_TMPFILE = "1"
    HAVE_TMPNAM = "1"
    HAVE_TMPNAM_R = "0"
    HAVE_TM_ZONE = "1"
    HAVE_TRUNCATE = "1"
    HAVE_TZNAME = "0"
    HAVE_UCS4_TCL = "0"
    HAVE_UNAME = "1"
    HAVE_UNISTD_H = "1"
    HAVE_UNLINKAT = "1"
    HAVE_USABLE_WCHAR_T = "0"
    HAVE_UTIL_H = "1"
    HAVE_UTIMENSAT = "1"
    HAVE_UTIMES = "1"
    HAVE_UTIME_H = "1"
    HAVE_UUID_CREATE = "0"
    HAVE_UUID_ENC_BE = "0"
    HAVE_UUID_GENERATE_TIME_SAFE = "0"
    HAVE_UUID_H = "0"
    HAVE_UUID_UUID_H = "1"
    HAVE_VFORK = "1"
    HAVE_WAIT3 = "1"
    HAVE_WAIT4 = "1"
    HAVE_WAITID = "1"
    HAVE_WAITPID = "1"
    HAVE_WCHAR_H = "1"
    HAVE_WCSCOLL = "1"
    HAVE_WCSFTIME = "1"
    HAVE_WCSXFRM = "1"
    HAVE_WMEMCMP = "1"
    HAVE_WORKING_TZSET = "1"
    HAVE_WRITEV = "1"
    HAVE_ZLIB_COPY = "1"
    HAVE__GETPTY = "0"
    HOST_GNU_TYPE = "aarch64-apple-darwin20.6.0"
    INCLDIRSTOMAKE = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10"
    INCLUDEDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include"
    INCLUDEPY = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10"
    INSTALL = "/usr/bin/install -c"
    INSTALL_DATA = "/usr/bin/install -c -m 644"
    INSTALL_PROGRAM = "/usr/bin/install -c"
    INSTALL_SCRIPT = "/usr/bin/install -c"
    INSTALL_SHARED = "/usr/bin/install -c -m 755"
    INSTSONAME = "Python.framework/Versions/3.10/Python"
    IO_H = "Modules/_io/_iomodule.h"
    IO_OBJS = "\"
    LDCXXSHARED = "clang++ -bundle -undefined dynamic_lookup"
    LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    LDFLAGS_NODIST = ""
    LDLIBRARY = "Python.framework/Versions/3.10/Python"
    LDLIBRARYDIR = ""
    LDSHARED = "clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    LDVERSION = "3.10"
    LIBC = ""
    LIBDEST = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10"
    LIBDIR = "/Users/username/.pyenv/versions/3.10.1/lib"
    LIBFFI_INCLUDEDIR = ""
    LIBM = ""
    LIBOBJDIR = "Python/"
    LIBOBJS = ""
    LIBPC = "/Users/username/.pyenv/versions/3.10.1/lib/pkgconfig"
    LIBPL = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin"
    LIBPYTHON = ""
    LIBRARY = "libpython3.10.a"
    LIBRARY_DEPS = "libpython3.10.a Python.framework/Versions/3.10/Python"
    LIBRARY_OBJS = "\"
    LIBRARY_OBJS_OMIT_FROZEN = "\"
    LIBS = "-lintl -ldl   -framework CoreFoundation"
    LIBSUBDIRS = "asyncio \"
    LINKCC = "clang"
    LINKFORSHARED = "-Wl,-stack_size,1000000  -framework CoreFoundation Python.framework/Versions/3.10/Python"
    LIPO_32BIT_FLAGS = ""
    LIPO_INTEL64_FLAGS = ""
    LLVM_PROF_ERR = "no"
    LLVM_PROF_FILE = "LLVM_PROFILE_FILE="code-%p.profclangr""
    LLVM_PROF_MERGER = "/usr/bin/xcrun llvm-profdata merge -output=code.profclangd *.profclangr"
    LN = "ln"
    LOCALMODLIBS = ""
    MACHDEP = "darwin"
    MACHDEP_OBJS = ""
    MACHDESTLIB = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    MACOSX_DEPLOYMENT_TARGET = "11.6"
    MAINCC = "clang"
    MAJOR_IN_MKDEV = "0"
    MAJOR_IN_SYSMACROS = "0"
    MAKESETUP = "./Modules/makesetup"
    MANDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/share/man"
    MKDIR_P = "./install-sh -c -d"
    MODBUILT_NAMES = "posix  errno  pwd  _sre  _codecs  _weakref  _functools  _operator  _collections  _abc  itertools  atexit  _signal  _stat  time  _thread  _locale  _io  faulthandler  _tracemalloc  _symtable  xxsubtype"
    MODDISABLED_NAMES = ""
    MODLIBS = ""
    MODOBJS = "Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  Modules/_collectionsmodule.o  Modules/_abc.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  Modules/_threadmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/faulthandler.o  Modules/_tracemalloc.o  Modules/symtablemodule.o  Modules/xxsubtype.o"
    MODULE_OBJS = "\"
    MULTIARCH = "darwin"
    MULTIARCH_CPPFLAGS = "-DMULTIARCH=\"darwin\""
    MVWDELCH_IS_EXPRESSION = "1"
    NO_AS_NEEDED = ""
    OBJECT_OBJS = "\"
    OPENSSL_INCLUDES = "-I/opt/homebrew/opt/openssl@1.1/include"
    OPENSSL_LDFLAGS = "-L/opt/homebrew/opt/openssl@1.1/lib"
    OPENSSL_LIBS = "-lssl -lcrypto"
    OPENSSL_RPATH = ""
    OPT = "-DNDEBUG -g -fwrapv -O3 -Wall"
    OTHER_LIBTOOL_OPT = ""
    PACKAGE_BUGREPORT = "0"
    PACKAGE_NAME = "0"
    PACKAGE_STRING = "0"
    PACKAGE_TARNAME = "0"
    PACKAGE_URL = "0"
    PACKAGE_VERSION = "0"
    PARSER_HEADERS = "\"
    PARSER_OBJS = "\ \ Parser/myreadline.o Parser/tokenizer.o"
    PEGEN_HEADERS = "\"
    PEGEN_OBJS = "\"
    PGO_PROF_GEN_FLAG = "-fprofile-instr-generate"
    PGO_PROF_USE_FLAG = "-fprofile-instr-use=code.profclangd"
    PLATLIBDIR = "lib"
    POBJS = "\"
    POSIX_SEMAPHORES_NOT_ENABLED = "0"
    PROFILE_TASK = "-m test --pgo --timeout=1200"
    PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT = "0"
    PTHREAD_SYSTEM_SCHED_SUPPORTED = "1"
    PURIFY = ""
    PY3LIBRARY = ""
    PYLONG_BITS_IN_DIGIT = "0"
    PYTHON = "python"
    PYTHONFRAMEWORK = "Python"
    PYTHONFRAMEWORKDIR = "Python.framework"
    PYTHONFRAMEWORKINSTALLDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework"
    PYTHONFRAMEWORKPREFIX = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks"
    PYTHONPATH = ""
    PYTHON_FOR_BUILD = "./python.exe -E"
    PYTHON_FOR_REGEN = ""
    PYTHON_HEADERS = "\"
    PYTHON_OBJS = "\"
    PY_BUILTIN_HASHLIB_HASHES = ""md5,sha1,sha256,sha512,sha3,blake2""
    PY_BUILTIN_MODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -DPy_BUILD_CORE_BUILTIN"
    PY_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    PY_CFLAGS_NODIST = "-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal"
    PY_COERCE_C_LOCALE = "1"
    PY_CORE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -DPy_BUILD_CORE"
    PY_CORE_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    PY_CPPFLAGS = "-I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    PY_ENABLE_SHARED = "0"
    PY_FORMAT_SIZE_T = ""z""
    PY_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    PY_LDFLAGS_NODIST = ""
    PY_SSL_DEFAULT_CIPHERS = "1"
    PY_SSL_DEFAULT_CIPHER_STRING = "0"
    PY_STDMODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    Py_DEBUG = "0"
    Py_ENABLE_SHARED = "0"
    Py_HASH_ALGORITHM = "0"
    Py_TRACE_REFS = "0"
    QUICKTESTOPTS = "-x test_subprocess test_io test_lib2to3 \"
    READELF = ":"
    RESSRCDIR = "Mac/Resources/framework"
    RETSIGTYPE = "void"
    RUNSHARED = "DYLD_FRAMEWORK_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1"
    SCRIPTDIR = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib"
    SETPGRP_HAVE_ARG = "0"
    SHELL = "/bin/sh"
    SHLIBS = "-lintl -ldl   -framework CoreFoundation"
    SHLIB_SUFFIX = ".so"
    SHM_NEEDS_LIBRT = "0"
    SIGNED_RIGHT_SHIFT_ZERO_FILLS = "0"
    SITEPATH = ""
    SIZEOF_DOUBLE = "8"
    SIZEOF_FLOAT = "4"
    SIZEOF_FPOS_T = "8"
    SIZEOF_INT = "4"
    SIZEOF_LONG = "8"
    SIZEOF_LONG_DOUBLE = "8"
    SIZEOF_LONG_LONG = "8"
    SIZEOF_OFF_T = "8"
    SIZEOF_PID_T = "4"
    SIZEOF_PTHREAD_KEY_T = "8"
    SIZEOF_PTHREAD_T = "8"
    SIZEOF_SHORT = "2"
    SIZEOF_SIZE_T = "8"
    SIZEOF_TIME_T = "8"
    SIZEOF_UINTPTR_T = "8"
    SIZEOF_VOID_P = "8"
    SIZEOF_WCHAR_T = "4"
    SIZEOF__BOOL = "1"
    SO = ".cpython-310-darwin.so"
    SOABI = "cpython-310-darwin"
    SRCDIRS = "Parser Objects Python Modules Modules/_io Programs"
    SRC_GDB_HOOKS = "./Tools/gdb/libpython.py"
    STATIC_LIBPYTHON = "1"
    STDC_HEADERS = "1"
    STRICT_SYSV_CURSES = "/* Don't use ncurses extensions */"
    STRIPFLAG = "-s"
    SUBDIRS = ""
    SUBDIRSTOO = "Include Lib Misc"
    SYSLIBS = ""
    SYS_SELECT_WITH_SYS_TIME = "1"
    TCLTK_INCLUDES = "-I/opt/homebrew/opt/tcl-tk/include"
    TCLTK_LIBS = "-L/opt/homebrew/opt/tcl-tk/lib -ltcl8.6 -ltk8.6"
    TESTOPTS = ""
    TESTPATH = ""
    TESTPYTHON = "DYLD_FRAMEWORK_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1 ./python.exe"
    TESTPYTHONOPTS = ""
    TESTRUNNER = "DYLD_FRAMEWORK_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1 ./python.exe ./Tools/scripts/run_tests.py"
    TESTSUBDIRS = "ctypes/test \"
    TESTTIMEOUT = "1200"
    TEST_MODULES = "yes"
    THREAD_STACK_SIZE = "0x1000000"
    TIMEMODULE_LIB = "0"
    TIME_WITH_SYS_TIME = "1"
    TM_IN_SYS_TIME = "0"
    TZPATH = "/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
    UNICODE_DEPS = "\"
    UNIVERSALSDK = ""
    UPDATE_FILE = "./Tools/scripts/update_file.py"
    USE_COMPUTED_GOTOS = "0"
    VERSION = "3.10"
    WHEEL_PKG_DIR = ""
    WINDOW_HAS_FLAGS = "1"
    WITH_DECIMAL_CONTEXTVAR = "1"
    WITH_DOC_STRINGS = "1"
    WITH_DTRACE = "0"
    WITH_DYLD = "1"
    WITH_EDITLINE = "0"
    WITH_LIBINTL = "1"
    WITH_NEXT_FRAMEWORK = "1"
    WITH_PYMALLOC = "1"
    WITH_VALGRIND = "0"
    X87_DOUBLE_ROUNDING = "0"
    XMLLIBSUBDIRS = "xml xml/dom xml/etree xml/parsers xml/sax"
    abiflags = ""
    abs_builddir = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1"
    abs_srcdir = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112062659.24117/Python-3.10.1"
    base = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10"
    datarootdir = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/share"
    exec_prefix = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10"
    installed_base = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10"
    installed_platbase = "/Users/username/.pyenv/versions/3.10.1"
    platbase = "/Users/username/.pyenv/versions/3.10.1"
    platlibdir = "lib"
    prefix = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10"
    projectbase = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin"
    py_version = "3.10.1"
    py_version_nodot = "310"
    py_version_nodot_plat = ""
    py_version_short = "3.10"
    srcdir = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin"
    userbase = "/Users/username/Library/Python/3.10"
marcelotduarte commented 2 years ago

With --enable-framework were you able to install cx_Freeze?

shinshin86 commented 2 years ago

@marcelotduarte Oh, sorry, I forgot to write the results of the installation! Unfortunately, the installation has failed. The error log is here.

$ pip install --upgrade cx_Freeze
Collecting cx_Freeze
  Using cached cx_Freeze-6.9.tar.gz (144 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: importlib-metadata>=4.3.1 in /Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages (from cx_Freeze) (4.10.0)
Requirement already satisfied: zipp>=0.5 in /Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages (from importlib-metadata>=4.3.1->cx_Freeze) (3.7.0)
Building wheels for collected packages: cx-Freeze
  Building wheel for cx-Freeze (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-wheel-fhirlcp6
       cwd: /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/
  Complete output (41 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.6-arm64-3.10
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/macdist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/finder.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/exception.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/hooks.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/freezer.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/winmsvcr.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/darwintools.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/patchelf.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/windist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/__init__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/setupwriter.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/cli.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/common.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/winversioninfo.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/executable.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/module.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/__main__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  copying cx_Freeze/dist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/Console.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/SharedLib.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/__startup__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
  running build_ext
  running install_include
  creating build/temp.macosx-11.6-arm64-3.10
  creating build/temp.macosx-11.6-arm64-3.10/source
  creating build/temp.macosx-11.6-arm64-3.10/source/bases
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/ncurses/include -I/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -I/Users/username/.pyenv/versions/3.10.1/include/python3.10 -c source/bases/Console.c -o build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o
  creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases
  clang build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o -L/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin -lpython3.10 -o build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases/Console-cp310-macosx-116-arm64 -lintl -ldl -framework CoreFoundation -Wl,-export_dynamic
  ld: library not found for -lintl
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command '/usr/bin/clang' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for cx-Freeze
  Running setup.py clean for cx-Freeze
Failed to build cx-Freeze
Installing collected packages: cx-Freeze
    Running setup.py install for cx-Freeze ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-record-hb9o12ya/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cx-Freeze
         cwd: /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/
    Complete output (41 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-11.6-arm64-3.10
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/macdist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/finder.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/exception.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/hooks.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/freezer.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/winmsvcr.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/darwintools.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/patchelf.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/windist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/__init__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/setupwriter.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/cli.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/common.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/winversioninfo.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/executable.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/module.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/__main__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    copying cx_Freeze/dist.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/Console.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLib.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/__startup__.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.macosx-11.6-arm64-3.10/cx_Freeze/initscripts
    running build_ext
    running install_include
    creating build/temp.macosx-11.6-arm64-3.10
    creating build/temp.macosx-11.6-arm64-3.10/source
    creating build/temp.macosx-11.6-arm64-3.10/source/bases
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/ncurses/include -I/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -I/Users/username/.pyenv/versions/3.10.1/include/python3.10 -c source/bases/Console.c -o build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o
    creating build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases
    clang build/temp.macosx-11.6-arm64-3.10/source/bases/Console.o -L/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin -lpython3.10 -o build/lib.macosx-11.6-arm64-3.10/cx_Freeze/bases/Console-cp310-macosx-116-arm64 -lintl -ldl -framework CoreFoundation -Wl,-export_dynamic
    ld: library not found for -lintl
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/clang' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"'; __file__='"'"'/private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-install-3olepmpm/cx-freeze_dcb9001d10434088b869ee2cd3d170d3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/pip-record-hb9o12ya/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/cx-Freeze Check the logs for full command output.
marcelotduarte commented 2 years ago

Try with --enable-shared --with-lto and send me the output of: python -m sysconfig And report. The --enable-shared is the correct approach. There are more options.... (I see about this in some place). Maybe in conda build. Alias, I think that with miniconda you should get success: https://cx-freeze.readthedocs.io/en/latest/installation.html#miniconda3

marcelotduarte commented 2 years ago

Can you check if your issue is related to a PR reverted in pyenv?

shinshin86 commented 2 years ago

@marcelotduarte Thanks for the advice!

I used the following command to set up my Python environment.

PYTHON_CONFIGURE_OPTS="--enable-shared --with-lto" pyenv install 3.10.1

However, the installation failed in this environment.

Here are the results of python -m sysconfig.

Platform: "macosx-11.6-arm64"
Python version: "3.10"
Current installation scheme: "posix_prefix"

Paths: 
    data = "/Users/username/.pyenv/versions/3.10.1"
    include = "/Users/username/.pyenv/versions/3.10.1/include/python3.10"
    platinclude = "/Users/username/.pyenv/versions/3.10.1/include/python3.10"
    platlib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages"
    platstdlib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    purelib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/site-packages"
    scripts = "/Users/username/.pyenv/versions/3.10.1/bin"
    stdlib = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"

Variables: 
    ABIFLAGS = ""
    AC_APPLE_UNIVERSAL_BUILD = "0"
    AIX_BUILDDATE = "0"
    AIX_GENUINE_CPLUSPLUS = "0"
    ALIGNOF_LONG = "8"
    ALIGNOF_SIZE_T = "8"
    ALT_SOABI = "0"
    ANDROID_API_LEVEL = "0"
    AR = "/usr/bin/xcrun ar"
    ARFLAGS = "rcs"
    BASECFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code"
    BASECPPFLAGS = ""
    BASEMODLIBS = ""
    BINDIR = "/Users/username/.pyenv/versions/3.10.1/bin"
    BINLIBDEST = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    BLDLIBRARY = "-L. -lpython3.10"
    BLDSHARED = "clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    BUILDEXE = ".exe"
    BUILDPYTHON = "python.exe"
    BUILD_GNU_TYPE = "aarch64-apple-darwin20.6.0"
    BYTESTR_DEPS = "\"
    CC = "clang"
    CCSHARED = ""
    CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    CFLAGSFORSHARED = ""
    CFLAGS_ALIASING = "-fno-strict-aliasing"
    CFLAGS_NODIST = ""
    CONFIGFILES = "configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
    CONFIGURE_CFLAGS = "-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    CONFIGURE_CFLAGS_NODIST = "-flto -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden"
    CONFIGURE_CPPFLAGS = "-I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    CONFIGURE_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    CONFIGURE_LDFLAGS_NODIST = "-flto -Wl,-export_dynamic -g"
    CONFIG_ARGS = "'--prefix=/Users/username/.pyenv/versions/3.10.1' '--enable-shared' '--with-lto' '--libdir=/Users/username/.pyenv/versions/3.10.1/lib' '--with-openssl=/opt/homebrew/opt/openssl@1.1' '--with-tcltk-libs=-L/opt/homebrew/opt/tcl-tk/lib -ltcl8.6 -ltk8.6' '--with-tcltk-includes=-I/opt/homebrew/opt/tcl-tk/include' 'CC=clang' 'CFLAGS=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include  ' 'LDFLAGS=-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib' 'CPPFLAGS=-I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include' 'PKG_CONFIG_PATH=/opt/homebrew/opt/openssl@1.1/lib/pkgconfig/:'"
    CONFINCLUDEDIR = "/Users/username/.pyenv/versions/3.10.1/include"
    CONFINCLUDEPY = "/Users/username/.pyenv/versions/3.10.1/include/python3.10"
    COREPYTHONPATH = ""
    COVERAGE_INFO = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1/coverage.info"
    COVERAGE_REPORT = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1/lcov-report"
    COVERAGE_REPORT_OPTIONS = "--no-branch-coverage --title "CPython lcov report""
    CPPFLAGS = "-I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    CXX = "clang++"
    DESTDIRS = "/Users/username/.pyenv/versions/3.10.1 /Users/username/.pyenv/versions/3.10.1/lib /Users/username/.pyenv/versions/3.10.1/lib/python3.10 /Users/username/.pyenv/versions/3.10.1/lib/python3.10/lib-dynload"
    DESTLIB = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    DESTPATH = ""
    DESTSHARED = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/lib-dynload"
    DFLAGS = ""
    DIRMODE = "755"
    DIST = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in Include Lib Misc Ext-dummy"
    DISTDIRS = "Include Lib Misc Ext-dummy"
    DISTFILES = "README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in"
    DLINCLDIR = "."
    DLLLIBRARY = ""
    DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 = "0"
    DOUBLE_IS_BIG_ENDIAN_IEEE754 = "0"
    DOUBLE_IS_LITTLE_ENDIAN_IEEE754 = "1"
    DTRACE = ""
    DTRACE_DEPS = "\"
    DTRACE_HEADERS = ""
    DTRACE_OBJS = ""
    DYNLOADFILE = "dynload_shlib.o"
    ENABLE_IPV6 = "1"
    ENSUREPIP = "upgrade"
    EXE = ""
    EXEMODE = "755"
    EXPERIMENTAL_ISOLATED_SUBINTERPRETERS = "0"
    EXPORTSFROM = ""
    EXPORTSYMS = ""
    EXTRATESTOPTS = ""
    EXTRA_CFLAGS = ""
    EXT_SUFFIX = ".cpython-310-darwin.so"
    FILEMODE = "644"
    FLOAT_WORDS_BIGENDIAN = "0"
    FLOCK_NEEDS_LIBBSD = "0"
    GETPGRP_HAVE_ARG = "0"
    GITBRANCH = ""
    GITTAG = ""
    GITVERSION = ""
    GNULD = "no"
    HAVE_ACCEPT4 = "0"
    HAVE_ACOSH = "1"
    HAVE_ADDRINFO = "1"
    HAVE_ALARM = "1"
    HAVE_ALIGNED_REQUIRED = "0"
    HAVE_ALLOCA_H = "1"
    HAVE_ALTZONE = "0"
    HAVE_ASINH = "1"
    HAVE_ASM_TYPES_H = "0"
    HAVE_ATANH = "1"
    HAVE_BIND_TEXTDOMAIN_CODESET = "1"
    HAVE_BLUETOOTH_BLUETOOTH_H = "0"
    HAVE_BLUETOOTH_H = "0"
    HAVE_BROKEN_MBSTOWCS = "0"
    HAVE_BROKEN_NICE = "0"
    HAVE_BROKEN_PIPE_BUF = "0"
    HAVE_BROKEN_POLL = "0"
    HAVE_BROKEN_POSIX_SEMAPHORES = "0"
    HAVE_BROKEN_PTHREAD_SIGMASK = "0"
    HAVE_BROKEN_SEM_GETVALUE = "1"
    HAVE_BROKEN_UNSETENV = "0"
    HAVE_BUILTIN_ATOMIC = "1"
    HAVE_CHFLAGS = "1"
    HAVE_CHOWN = "1"
    HAVE_CHROOT = "1"
    HAVE_CLOCK = "1"
    HAVE_CLOCK_GETRES = "1"
    HAVE_CLOCK_GETTIME = "1"
    HAVE_CLOCK_SETTIME = "1"
    HAVE_CLOSE_RANGE = "0"
    HAVE_COMPUTED_GOTOS = "1"
    HAVE_CONFSTR = "1"
    HAVE_CONIO_H = "0"
    HAVE_COPYSIGN = "1"
    HAVE_COPY_FILE_RANGE = "0"
    HAVE_CRYPT_H = "0"
    HAVE_CRYPT_R = "0"
    HAVE_CTERMID = "1"
    HAVE_CTERMID_R = "1"
    HAVE_CURSES_FILTER = "1"
    HAVE_CURSES_H = "1"
    HAVE_CURSES_HAS_KEY = "1"
    HAVE_CURSES_IMMEDOK = "1"
    HAVE_CURSES_IS_PAD = "1"
    HAVE_CURSES_IS_TERM_RESIZED = "1"
    HAVE_CURSES_RESIZETERM = "1"
    HAVE_CURSES_RESIZE_TERM = "1"
    HAVE_CURSES_SYNCOK = "1"
    HAVE_CURSES_TYPEAHEAD = "1"
    HAVE_CURSES_USE_ENV = "1"
    HAVE_CURSES_WCHGAT = "1"
    HAVE_DECL_ISFINITE = "1"
    HAVE_DECL_ISINF = "1"
    HAVE_DECL_ISNAN = "1"
    HAVE_DECL_RTLD_DEEPBIND = "0"
    HAVE_DECL_RTLD_GLOBAL = "1"
    HAVE_DECL_RTLD_LAZY = "1"
    HAVE_DECL_RTLD_LOCAL = "1"
    HAVE_DECL_RTLD_MEMBER = "0"
    HAVE_DECL_RTLD_NODELETE = "1"
    HAVE_DECL_RTLD_NOLOAD = "1"
    HAVE_DECL_RTLD_NOW = "1"
    HAVE_DECL_TZNAME = "0"
    HAVE_DEVICE_MACROS = "1"
    HAVE_DEV_PTC = "0"
    HAVE_DEV_PTMX = "1"
    HAVE_DIRECT_H = "0"
    HAVE_DIRENT_D_TYPE = "1"
    HAVE_DIRENT_H = "1"
    HAVE_DIRFD = "1"
    HAVE_DLFCN_H = "1"
    HAVE_DLOPEN = "1"
    HAVE_DUP2 = "1"
    HAVE_DUP3 = "0"
    HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH = "1"
    HAVE_DYNAMIC_LOADING = "1"
    HAVE_ENDIAN_H = "0"
    HAVE_EPOLL = "0"
    HAVE_EPOLL_CREATE1 = "0"
    HAVE_ERF = "1"
    HAVE_ERFC = "1"
    HAVE_ERRNO_H = "1"
    HAVE_EVENTFD = "0"
    HAVE_EXECV = "1"
    HAVE_EXPLICIT_BZERO = "0"
    HAVE_EXPLICIT_MEMSET = "0"
    HAVE_EXPM1 = "1"
    HAVE_FACCESSAT = "1"
    HAVE_FCHDIR = "1"
    HAVE_FCHMOD = "1"
    HAVE_FCHMODAT = "1"
    HAVE_FCHOWN = "1"
    HAVE_FCHOWNAT = "1"
    HAVE_FCNTL_H = "1"
    HAVE_FDATASYNC = "0"
    HAVE_FDOPENDIR = "1"
    HAVE_FDWALK = "0"
    HAVE_FEXECVE = "0"
    HAVE_FINITE = "0"
    HAVE_FLOCK = "1"
    HAVE_FORK = "1"
    HAVE_FORKPTY = "1"
    HAVE_FPATHCONF = "1"
    HAVE_FSEEK64 = "0"
    HAVE_FSEEKO = "1"
    HAVE_FSTATAT = "1"
    HAVE_FSTATVFS = "1"
    HAVE_FSYNC = "1"
    HAVE_FTELL64 = "0"
    HAVE_FTELLO = "1"
    HAVE_FTIME = "1"
    HAVE_FTRUNCATE = "1"
    HAVE_FUTIMENS = "1"
    HAVE_FUTIMES = "1"
    HAVE_FUTIMESAT = "0"
    HAVE_GAI_STRERROR = "1"
    HAVE_GAMMA = "0"
    HAVE_GCC_ASM_FOR_MC68881 = "0"
    HAVE_GCC_ASM_FOR_X64 = "0"
    HAVE_GCC_ASM_FOR_X87 = "0"
    HAVE_GCC_UINT128_T = "1"
    HAVE_GETADDRINFO = "1"
    HAVE_GETC_UNLOCKED = "1"
    HAVE_GETENTROPY = "1"
    HAVE_GETGRGID_R = "1"
    HAVE_GETGRNAM_R = "1"
    HAVE_GETGROUPLIST = "1"
    HAVE_GETGROUPS = "1"
    HAVE_GETHOSTBYNAME = "1"
    HAVE_GETHOSTBYNAME_R = "0"
    HAVE_GETHOSTBYNAME_R_3_ARG = "0"
    HAVE_GETHOSTBYNAME_R_5_ARG = "0"
    HAVE_GETHOSTBYNAME_R_6_ARG = "0"
    HAVE_GETITIMER = "1"
    HAVE_GETLOADAVG = "1"
    HAVE_GETLOGIN = "1"
    HAVE_GETNAMEINFO = "1"
    HAVE_GETPAGESIZE = "1"
    HAVE_GETPEERNAME = "1"
    HAVE_GETPGID = "1"
    HAVE_GETPGRP = "1"
    HAVE_GETPID = "1"
    HAVE_GETPRIORITY = "1"
    HAVE_GETPWENT = "1"
    HAVE_GETPWNAM_R = "1"
    HAVE_GETPWUID_R = "1"
    HAVE_GETRANDOM = "0"
    HAVE_GETRANDOM_SYSCALL = "0"
    HAVE_GETRESGID = "0"
    HAVE_GETRESUID = "0"
    HAVE_GETSID = "1"
    HAVE_GETSPENT = "0"
    HAVE_GETSPNAM = "0"
    HAVE_GETWD = "1"
    HAVE_GLIBC_MEMMOVE_BUG = "0"
    HAVE_GRP_H = "1"
    HAVE_HSTRERROR = "1"
    HAVE_HTOLE64 = "0"
    HAVE_HYPOT = "1"
    HAVE_IEEEFP_H = "0"
    HAVE_IF_NAMEINDEX = "1"
    HAVE_INET_ATON = "1"
    HAVE_INET_PTON = "1"
    HAVE_INITGROUPS = "1"
    HAVE_INTTYPES_H = "1"
    HAVE_IO_H = "0"
    HAVE_IPA_PURE_CONST_BUG = "0"
    HAVE_KILL = "1"
    HAVE_KILLPG = "1"
    HAVE_KQUEUE = "1"
    HAVE_LANGINFO_H = "1"
    HAVE_LARGEFILE_SUPPORT = "0"
    HAVE_LCHFLAGS = "1"
    HAVE_LCHMOD = "1"
    HAVE_LCHOWN = "1"
    HAVE_LGAMMA = "1"
    HAVE_LIBDL = "1"
    HAVE_LIBDLD = "0"
    HAVE_LIBIEEE = "0"
    HAVE_LIBINTL_H = "1"
    HAVE_LIBREADLINE = "1"
    HAVE_LIBRESOLV = "0"
    HAVE_LIBSENDFILE = "0"
    HAVE_LIBUTIL_H = "0"
    HAVE_LIBUUID = "0"
    HAVE_LINK = "1"
    HAVE_LINKAT = "1"
    HAVE_LINUX_CAN_BCM_H = "0"
    HAVE_LINUX_CAN_H = "0"
    HAVE_LINUX_CAN_J1939_H = "0"
    HAVE_LINUX_CAN_RAW_FD_FRAMES = "0"
    HAVE_LINUX_CAN_RAW_H = "0"
    HAVE_LINUX_CAN_RAW_JOIN_FILTERS = "0"
    HAVE_LINUX_MEMFD_H = "0"
    HAVE_LINUX_NETLINK_H = "0"
    HAVE_LINUX_QRTR_H = "0"
    HAVE_LINUX_RANDOM_H = "0"
    HAVE_LINUX_TIPC_H = "0"
    HAVE_LINUX_VM_SOCKETS_H = "0"
    HAVE_LINUX_WAIT_H = "0"
    HAVE_LOCKF = "1"
    HAVE_LOG1P = "1"
    HAVE_LOG2 = "1"
    HAVE_LONG_DOUBLE = "1"
    HAVE_LSTAT = "1"
    HAVE_LUTIMES = "1"
    HAVE_MADVISE = "1"
    HAVE_MAKEDEV = "1"
    HAVE_MBRTOWC = "1"
    HAVE_MEMFD_CREATE = "0"
    HAVE_MEMORY_H = "1"
    HAVE_MEMRCHR = "0"
    HAVE_MKDIRAT = "1"
    HAVE_MKFIFO = "1"
    HAVE_MKFIFOAT = "0"
    HAVE_MKNOD = "1"
    HAVE_MKNODAT = "0"
    HAVE_MKTIME = "1"
    HAVE_MMAP = "1"
    HAVE_MREMAP = "0"
    HAVE_NCURSES_H = "1"
    HAVE_NDIR_H = "0"
    HAVE_NETPACKET_PACKET_H = "0"
    HAVE_NET_IF_H = "1"
    HAVE_NICE = "1"
    HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION = "0"
    HAVE_OPENAT = "1"
    HAVE_OPENPTY = "1"
    HAVE_PATHCONF = "1"
    HAVE_PAUSE = "1"
    HAVE_PIPE2 = "0"
    HAVE_PLOCK = "0"
    HAVE_POLL = "1"
    HAVE_POLL_H = "1"
    HAVE_POSIX_FADVISE = "0"
    HAVE_POSIX_FALLOCATE = "0"
    HAVE_POSIX_SPAWN = "1"
    HAVE_POSIX_SPAWNP = "1"
    HAVE_PREAD = "1"
    HAVE_PREADV = "1"
    HAVE_PREADV2 = "0"
    HAVE_PRLIMIT = "0"
    HAVE_PROCESS_H = "0"
    HAVE_PROTOTYPES = "1"
    HAVE_PTHREAD_CONDATTR_SETCLOCK = "0"
    HAVE_PTHREAD_DESTRUCTOR = "0"
    HAVE_PTHREAD_GETCPUCLOCKID = "0"
    HAVE_PTHREAD_H = "1"
    HAVE_PTHREAD_INIT = "0"
    HAVE_PTHREAD_KILL = "1"
    HAVE_PTHREAD_SIGMASK = "1"
    HAVE_PTY_H = "0"
    HAVE_PWRITE = "1"
    HAVE_PWRITEV = "1"
    HAVE_PWRITEV2 = "0"
    HAVE_READLINK = "1"
    HAVE_READLINKAT = "1"
    HAVE_READV = "1"
    HAVE_REALPATH = "1"
    HAVE_RENAMEAT = "1"
    HAVE_RL_APPEND_HISTORY = "1"
    HAVE_RL_CATCH_SIGNAL = "1"
    HAVE_RL_COMPLETION_APPEND_CHARACTER = "1"
    HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK = "1"
    HAVE_RL_COMPLETION_MATCHES = "1"
    HAVE_RL_COMPLETION_SUPPRESS_APPEND = "1"
    HAVE_RL_PRE_INPUT_HOOK = "1"
    HAVE_RL_RESIZE_TERMINAL = "1"
    HAVE_ROUND = "1"
    HAVE_RTPSPAWN = "0"
    HAVE_SCHED_GET_PRIORITY_MAX = "1"
    HAVE_SCHED_H = "1"
    HAVE_SCHED_RR_GET_INTERVAL = "0"
    HAVE_SCHED_SETAFFINITY = "0"
    HAVE_SCHED_SETPARAM = "0"
    HAVE_SCHED_SETSCHEDULER = "0"
    HAVE_SEM_CLOCKWAIT = "0"
    HAVE_SEM_GETVALUE = "1"
    HAVE_SEM_OPEN = "1"
    HAVE_SEM_TIMEDWAIT = "0"
    HAVE_SEM_UNLINK = "1"
    HAVE_SENDFILE = "1"
    HAVE_SETEGID = "1"
    HAVE_SETEUID = "1"
    HAVE_SETGID = "1"
    HAVE_SETGROUPS = "1"
    HAVE_SETHOSTNAME = "1"
    HAVE_SETITIMER = "1"
    HAVE_SETLOCALE = "1"
    HAVE_SETPGID = "1"
    HAVE_SETPGRP = "1"
    HAVE_SETPRIORITY = "1"
    HAVE_SETREGID = "1"
    HAVE_SETRESGID = "0"
    HAVE_SETRESUID = "0"
    HAVE_SETREUID = "1"
    HAVE_SETSID = "1"
    HAVE_SETUID = "1"
    HAVE_SETVBUF = "1"
    HAVE_SHADOW_H = "0"
    HAVE_SHM_OPEN = "1"
    HAVE_SHM_UNLINK = "1"
    HAVE_SIGACTION = "1"
    HAVE_SIGALTSTACK = "1"
    HAVE_SIGFILLSET = "1"
    HAVE_SIGINFO_T_SI_BAND = "1"
    HAVE_SIGINTERRUPT = "1"
    HAVE_SIGNAL_H = "1"
    HAVE_SIGPENDING = "1"
    HAVE_SIGRELSE = "1"
    HAVE_SIGTIMEDWAIT = "0"
    HAVE_SIGWAIT = "1"
    HAVE_SIGWAITINFO = "0"
    HAVE_SNPRINTF = "1"
    HAVE_SOCKADDR_ALG = "0"
    HAVE_SOCKADDR_SA_LEN = "1"
    HAVE_SOCKADDR_STORAGE = "1"
    HAVE_SOCKETPAIR = "1"
    HAVE_SPAWN_H = "1"
    HAVE_SPLICE = "0"
    HAVE_SSIZE_T = "1"
    HAVE_STATVFS = "1"
    HAVE_STAT_TV_NSEC = "0"
    HAVE_STAT_TV_NSEC2 = "1"
    HAVE_STDARG_PROTOTYPES = "1"
    HAVE_STDINT_H = "1"
    HAVE_STDLIB_H = "1"
    HAVE_STD_ATOMIC = "1"
    HAVE_STRFTIME = "1"
    HAVE_STRINGS_H = "1"
    HAVE_STRING_H = "1"
    HAVE_STRLCPY = "1"
    HAVE_STROPTS_H = "0"
    HAVE_STRSIGNAL = "1"
    HAVE_STRUCT_PASSWD_PW_GECOS = "1"
    HAVE_STRUCT_PASSWD_PW_PASSWD = "1"
    HAVE_STRUCT_STAT_ST_BIRTHTIME = "1"
    HAVE_STRUCT_STAT_ST_BLKSIZE = "1"
    HAVE_STRUCT_STAT_ST_BLOCKS = "1"
    HAVE_STRUCT_STAT_ST_FLAGS = "1"
    HAVE_STRUCT_STAT_ST_GEN = "1"
    HAVE_STRUCT_STAT_ST_RDEV = "1"
    HAVE_STRUCT_TM_TM_ZONE = "1"
    HAVE_SYMLINK = "1"
    HAVE_SYMLINKAT = "1"
    HAVE_SYNC = "1"
    HAVE_SYSCONF = "1"
    HAVE_SYSEXITS_H = "1"
    HAVE_SYS_AUDIOIO_H = "0"
    HAVE_SYS_BSDTTY_H = "0"
    HAVE_SYS_DEVPOLL_H = "0"
    HAVE_SYS_DIR_H = "0"
    HAVE_SYS_ENDIAN_H = "0"
    HAVE_SYS_EPOLL_H = "0"
    HAVE_SYS_EVENTFD_H = "0"
    HAVE_SYS_EVENT_H = "1"
    HAVE_SYS_FILE_H = "1"
    HAVE_SYS_IOCTL_H = "1"
    HAVE_SYS_KERN_CONTROL_H = "1"
    HAVE_SYS_LOADAVG_H = "0"
    HAVE_SYS_LOCK_H = "1"
    HAVE_SYS_MEMFD_H = "0"
    HAVE_SYS_MKDEV_H = "0"
    HAVE_SYS_MMAN_H = "1"
    HAVE_SYS_MODEM_H = "0"
    HAVE_SYS_NDIR_H = "0"
    HAVE_SYS_PARAM_H = "1"
    HAVE_SYS_POLL_H = "1"
    HAVE_SYS_RANDOM_H = "1"
    HAVE_SYS_RESOURCE_H = "1"
    HAVE_SYS_SELECT_H = "1"
    HAVE_SYS_SENDFILE_H = "0"
    HAVE_SYS_SOCKET_H = "1"
    HAVE_SYS_STATVFS_H = "1"
    HAVE_SYS_STAT_H = "1"
    HAVE_SYS_SYSCALL_H = "1"
    HAVE_SYS_SYSMACROS_H = "0"
    HAVE_SYS_SYS_DOMAIN_H = "1"
    HAVE_SYS_TERMIO_H = "0"
    HAVE_SYS_TIMES_H = "1"
    HAVE_SYS_TIME_H = "1"
    HAVE_SYS_TYPES_H = "1"
    HAVE_SYS_UIO_H = "1"
    HAVE_SYS_UN_H = "1"
    HAVE_SYS_UTSNAME_H = "1"
    HAVE_SYS_WAIT_H = "1"
    HAVE_SYS_XATTR_H = "1"
    HAVE_TCGETPGRP = "1"
    HAVE_TCSETPGRP = "1"
    HAVE_TEMPNAM = "1"
    HAVE_TERMIOS_H = "1"
    HAVE_TERM_H = "1"
    HAVE_TGAMMA = "1"
    HAVE_TIMEGM = "1"
    HAVE_TIMES = "1"
    HAVE_TMPFILE = "1"
    HAVE_TMPNAM = "1"
    HAVE_TMPNAM_R = "0"
    HAVE_TM_ZONE = "1"
    HAVE_TRUNCATE = "1"
    HAVE_TZNAME = "0"
    HAVE_UCS4_TCL = "0"
    HAVE_UNAME = "1"
    HAVE_UNISTD_H = "1"
    HAVE_UNLINKAT = "1"
    HAVE_USABLE_WCHAR_T = "0"
    HAVE_UTIL_H = "1"
    HAVE_UTIMENSAT = "1"
    HAVE_UTIMES = "1"
    HAVE_UTIME_H = "1"
    HAVE_UUID_CREATE = "0"
    HAVE_UUID_ENC_BE = "0"
    HAVE_UUID_GENERATE_TIME_SAFE = "0"
    HAVE_UUID_H = "0"
    HAVE_UUID_UUID_H = "1"
    HAVE_VFORK = "1"
    HAVE_WAIT3 = "1"
    HAVE_WAIT4 = "1"
    HAVE_WAITID = "1"
    HAVE_WAITPID = "1"
    HAVE_WCHAR_H = "1"
    HAVE_WCSCOLL = "1"
    HAVE_WCSFTIME = "1"
    HAVE_WCSXFRM = "1"
    HAVE_WMEMCMP = "1"
    HAVE_WORKING_TZSET = "1"
    HAVE_WRITEV = "1"
    HAVE_ZLIB_COPY = "1"
    HAVE__GETPTY = "0"
    HOST_GNU_TYPE = "aarch64-apple-darwin20.6.0"
    INCLDIRSTOMAKE = "/Users/username/.pyenv/versions/3.10.1/include /Users/username/.pyenv/versions/3.10.1/include /Users/username/.pyenv/versions/3.10.1/include/python3.10 /Users/username/.pyenv/versions/3.10.1/include/python3.10"
    INCLUDEDIR = "/Users/username/.pyenv/versions/3.10.1/include"
    INCLUDEPY = "/Users/username/.pyenv/versions/3.10.1/include/python3.10"
    INSTALL = "/usr/bin/install -c"
    INSTALL_DATA = "/usr/bin/install -c -m 644"
    INSTALL_PROGRAM = "/usr/bin/install -c"
    INSTALL_SCRIPT = "/usr/bin/install -c"
    INSTALL_SHARED = "/usr/bin/install -c -m 755"
    INSTSONAME = "libpython3.10.dylib"
    IO_H = "Modules/_io/_iomodule.h"
    IO_OBJS = "\"
    LDCXXSHARED = "clang++ -bundle -undefined dynamic_lookup"
    LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    LDFLAGS_NODIST = ""
    LDLIBRARY = "libpython3.10.dylib"
    LDLIBRARYDIR = ""
    LDSHARED = "clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    LDVERSION = "3.10"
    LIBC = ""
    LIBDEST = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    LIBDIR = "/Users/username/.pyenv/versions/3.10.1/lib"
    LIBFFI_INCLUDEDIR = ""
    LIBM = ""
    LIBOBJDIR = "Python/"
    LIBOBJS = ""
    LIBPC = "/Users/username/.pyenv/versions/3.10.1/lib/pkgconfig"
    LIBPL = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/config-3.10-darwin"
    LIBPYTHON = ""
    LIBRARY = "libpython3.10.a"
    LIBRARY_DEPS = "libpython3.10.a libpython3.10.dylib"
    LIBRARY_OBJS = "\"
    LIBRARY_OBJS_OMIT_FROZEN = "\"
    LIBS = "-lintl -ldl   -framework CoreFoundation"
    LIBSUBDIRS = "asyncio \"
    LINKCC = "clang"
    LINKFORSHARED = "-Wl,-stack_size,1000000  -framework CoreFoundation"
    LIPO_32BIT_FLAGS = ""
    LIPO_INTEL64_FLAGS = ""
    LLVM_PROF_ERR = "no"
    LLVM_PROF_FILE = "LLVM_PROFILE_FILE="code-%p.profclangr""
    LLVM_PROF_MERGER = "/usr/bin/xcrun llvm-profdata merge -output=code.profclangd *.profclangr"
    LN = "ln"
    LOCALMODLIBS = ""
    MACHDEP = "darwin"
    MACHDEP_OBJS = ""
    MACHDESTLIB = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10"
    MACOSX_DEPLOYMENT_TARGET = "11.6"
    MAINCC = "clang"
    MAJOR_IN_MKDEV = "0"
    MAJOR_IN_SYSMACROS = "0"
    MAKESETUP = "./Modules/makesetup"
    MANDIR = "/Users/username/.pyenv/versions/3.10.1/share/man"
    MKDIR_P = "./install-sh -c -d"
    MODBUILT_NAMES = "posix  errno  pwd  _sre  _codecs  _weakref  _functools  _operator  _collections  _abc  itertools  atexit  _signal  _stat  time  _thread  _locale  _io  faulthandler  _tracemalloc  _symtable  xxsubtype"
    MODDISABLED_NAMES = ""
    MODLIBS = ""
    MODOBJS = "Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  Modules/_collectionsmodule.o  Modules/_abc.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  Modules/_threadmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/faulthandler.o  Modules/_tracemalloc.o  Modules/symtablemodule.o  Modules/xxsubtype.o"
    MODULE_OBJS = "\"
    MULTIARCH = "darwin"
    MULTIARCH_CPPFLAGS = "-DMULTIARCH=\"darwin\""
    MVWDELCH_IS_EXPRESSION = "1"
    NO_AS_NEEDED = ""
    OBJECT_OBJS = "\"
    OPENSSL_INCLUDES = "-I/opt/homebrew/opt/openssl@1.1/include"
    OPENSSL_LDFLAGS = "-L/opt/homebrew/opt/openssl@1.1/lib"
    OPENSSL_LIBS = "-lssl -lcrypto"
    OPENSSL_RPATH = ""
    OPT = "-DNDEBUG -g -fwrapv -O3 -Wall"
    OTHER_LIBTOOL_OPT = ""
    PACKAGE_BUGREPORT = "0"
    PACKAGE_NAME = "0"
    PACKAGE_STRING = "0"
    PACKAGE_TARNAME = "0"
    PACKAGE_URL = "0"
    PACKAGE_VERSION = "0"
    PARSER_HEADERS = "\"
    PARSER_OBJS = "\ \ Parser/myreadline.o Parser/tokenizer.o"
    PEGEN_HEADERS = "\"
    PEGEN_OBJS = "\"
    PGO_PROF_GEN_FLAG = "-fprofile-instr-generate"
    PGO_PROF_USE_FLAG = "-fprofile-instr-use=code.profclangd"
    PLATLIBDIR = "lib"
    POBJS = "\"
    POSIX_SEMAPHORES_NOT_ENABLED = "0"
    PROFILE_TASK = "-m test --pgo --timeout=1200"
    PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT = "0"
    PTHREAD_SYSTEM_SCHED_SUPPORTED = "1"
    PURIFY = ""
    PY3LIBRARY = ""
    PYLONG_BITS_IN_DIGIT = "0"
    PYTHON = "python"
    PYTHONFRAMEWORK = ""
    PYTHONFRAMEWORKDIR = "no-framework"
    PYTHONFRAMEWORKINSTALLDIR = ""
    PYTHONFRAMEWORKPREFIX = ""
    PYTHONPATH = ""
    PYTHON_FOR_BUILD = "./python.exe -E"
    PYTHON_FOR_REGEN = ""
    PYTHON_HEADERS = "\"
    PYTHON_OBJS = "\"
    PY_BUILTIN_HASHLIB_HASHES = ""md5,sha1,sha256,sha512,sha3,blake2""
    PY_BUILTIN_MODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -flto -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -DPy_BUILD_CORE_BUILTIN"
    PY_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
    PY_CFLAGS_NODIST = "-flto -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal"
    PY_COERCE_C_LOCALE = "1"
    PY_CORE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -flto -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -DPy_BUILD_CORE"
    PY_CORE_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -flto -Wl,-export_dynamic -g"
    PY_CPPFLAGS = "-I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    PY_ENABLE_SHARED = "1"
    PY_FORMAT_SIZE_T = ""z""
    PY_LDFLAGS = "-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/username/.pyenv/versions/3.10.1/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
    PY_LDFLAGS_NODIST = "-flto -Wl,-export_dynamic -g"
    PY_SSL_DEFAULT_CIPHERS = "1"
    PY_SSL_DEFAULT_CIPHER_STRING = "0"
    PY_STDMODULE_CFLAGS = "-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -flto -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/username/.pyenv/versions/3.10.1/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/include"
    Py_DEBUG = "0"
    Py_ENABLE_SHARED = "1"
    Py_HASH_ALGORITHM = "0"
    Py_TRACE_REFS = "0"
    QUICKTESTOPTS = "-x test_subprocess test_io test_lib2to3 \"
    READELF = ":"
    RESSRCDIR = "Mac/Resources/framework"
    RETSIGTYPE = "void"
    RUNSHARED = "DYLD_LIBRARY_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1"
    SCRIPTDIR = "/Users/username/.pyenv/versions/3.10.1/lib"
    SETPGRP_HAVE_ARG = "0"
    SHELL = "/bin/sh"
    SHLIBS = "-lintl -ldl   -framework CoreFoundation"
    SHLIB_SUFFIX = ".so"
    SHM_NEEDS_LIBRT = "0"
    SIGNED_RIGHT_SHIFT_ZERO_FILLS = "0"
    SITEPATH = ""
    SIZEOF_DOUBLE = "8"
    SIZEOF_FLOAT = "4"
    SIZEOF_FPOS_T = "8"
    SIZEOF_INT = "4"
    SIZEOF_LONG = "8"
    SIZEOF_LONG_DOUBLE = "8"
    SIZEOF_LONG_LONG = "8"
    SIZEOF_OFF_T = "8"
    SIZEOF_PID_T = "4"
    SIZEOF_PTHREAD_KEY_T = "8"
    SIZEOF_PTHREAD_T = "8"
    SIZEOF_SHORT = "2"
    SIZEOF_SIZE_T = "8"
    SIZEOF_TIME_T = "8"
    SIZEOF_UINTPTR_T = "8"
    SIZEOF_VOID_P = "8"
    SIZEOF_WCHAR_T = "4"
    SIZEOF__BOOL = "1"
    SO = ".cpython-310-darwin.so"
    SOABI = "cpython-310-darwin"
    SRCDIRS = "Parser Objects Python Modules Modules/_io Programs"
    SRC_GDB_HOOKS = "./Tools/gdb/libpython.py"
    STATIC_LIBPYTHON = "1"
    STDC_HEADERS = "1"
    STRICT_SYSV_CURSES = "/* Don't use ncurses extensions */"
    STRIPFLAG = "-s"
    SUBDIRS = ""
    SUBDIRSTOO = "Include Lib Misc"
    SYSLIBS = ""
    SYS_SELECT_WITH_SYS_TIME = "1"
    TCLTK_INCLUDES = "-I/opt/homebrew/opt/tcl-tk/include"
    TCLTK_LIBS = "-L/opt/homebrew/opt/tcl-tk/lib -ltcl8.6 -ltk8.6"
    TESTOPTS = ""
    TESTPATH = ""
    TESTPYTHON = "DYLD_LIBRARY_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1 ./python.exe"
    TESTPYTHONOPTS = ""
    TESTRUNNER = "DYLD_LIBRARY_PATH=/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1 ./python.exe ./Tools/scripts/run_tests.py"
    TESTSUBDIRS = "ctypes/test \"
    TESTTIMEOUT = "1200"
    TEST_MODULES = "yes"
    THREAD_STACK_SIZE = "0x1000000"
    TIMEMODULE_LIB = "0"
    TIME_WITH_SYS_TIME = "1"
    TM_IN_SYS_TIME = "0"
    TZPATH = "/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
    UNICODE_DEPS = "\"
    UNIVERSALSDK = ""
    UPDATE_FILE = "./Tools/scripts/update_file.py"
    USE_COMPUTED_GOTOS = "0"
    VERSION = "3.10"
    WHEEL_PKG_DIR = ""
    WINDOW_HAS_FLAGS = "1"
    WITH_DECIMAL_CONTEXTVAR = "1"
    WITH_DOC_STRINGS = "1"
    WITH_DTRACE = "0"
    WITH_DYLD = "1"
    WITH_EDITLINE = "0"
    WITH_LIBINTL = "1"
    WITH_NEXT_FRAMEWORK = "0"
    WITH_PYMALLOC = "1"
    WITH_VALGRIND = "0"
    X87_DOUBLE_ROUNDING = "0"
    XMLLIBSUBDIRS = "xml xml/dom xml/etree xml/parsers xml/sax"
    abiflags = ""
    abs_builddir = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1"
    abs_srcdir = "/var/folders/nb/5pgql3j15bl1rwghw7sb5hrw0000gn/T/python-build.20220112215127.42218/Python-3.10.1"
    base = "/Users/username/.pyenv/versions/3.10.1"
    datarootdir = "/Users/username/.pyenv/versions/3.10.1/share"
    exec_prefix = "/Users/username/.pyenv/versions/3.10.1"
    installed_base = "/Users/username/.pyenv/versions/3.10.1"
    installed_platbase = "/Users/username/.pyenv/versions/3.10.1"
    platbase = "/Users/username/.pyenv/versions/3.10.1"
    platlibdir = "lib"
    prefix = "/Users/username/.pyenv/versions/3.10.1"
    projectbase = "/Users/username/.pyenv/versions/3.10.1/Library/Frameworks/Python.framework/Versions/3.10/bin"
    py_version = "3.10.1"
    py_version_nodot = "310"
    py_version_nodot_plat = ""
    py_version_short = "3.10"
    srcdir = "/Users/username/.pyenv/versions/3.10.1/lib/python3.10/config-3.10-darwin"
    userbase = "/Users/username/.local"
shinshin86 commented 2 years ago

Also, thank you for the information that might be relevant. https://github.com/pyenv/pyenv/pull/2020 I took a look at the PR here, but it's still not clear to me how coreutils is related to this installation error. I'm going to look into this again later.

shinshin86 commented 2 years ago

I took your advice and installed miniforge3-4.10.3-10 from pyenv and gave it a try. (Since Miniconda is not supported on MacOSX-arm64, miniforge is used.)

Then the installation of cx_Freeze was successful!

Here are the commands I ran during setup. (This was my first time using Miniconda. I am not sure if these commands are appropriate)

# setup miniforge
pyenv install miniforge3-4.10.3-10
pyenv local miniforge3-4.10.3-10

# setup
export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
conda create -n cx39conda -c conda-forge python=3.9 libpython-static -y
conda init zsh
source ~/.zshrc
conda activate cx39conda
conda install -c conda-forge c-compiler importlib-metadata -y
pip install --no-binary :all: --pre cx_Freeze -v

I wanted to use it with Python 3.10, so I tried the following command to see if it was also available here. And the installation was successful!

conda create -n cx310conda -c conda-forge python=3.10 libpython-static -y
conda activate cx310conda
conda install -c conda-forge c-compiler importlib-metadata -y
pip install --no-binary :all: --pre cx_Freeze -v

I tried the following sample code to see if it works. https://github.com/marcelotduarte/cx_Freeze/tree/main/cx_Freeze/samples/Tkinter

When I execute the compiled executable, I got the following error.

$ ./build/exe.macosx-11.0-arm64-3.10/SimpleTkApp
Traceback (most recent call last):
  File "/Users/username/.pyenv/versions/miniforge3-4.10.3-10/envs/cx310conda/lib/python3.10/site-packages/cx_Freeze/initscripts/__startup__.py", line 113, in run
    module_init.run(name + "__main__")
  File "/Users/username/.pyenv/versions/miniforge3-4.10.3-10/envs/cx310conda/lib/python3.10/site-packages/cx_Freeze/initscripts/Console.py", line 15, in run
    exec(code, module_main.__dict__)
  File "SimpleTkApp.py", line 1, in <module>
    from tkinter import Tk, Label, Button, BOTTOM
  File "/Users/username/.pyenv/versions/miniforge3-4.10.3-10/envs/cx310conda/lib/python3.10/tkinter/__init__.py", line 37, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: dlopen(/Users/username/try-cx_freeze/build/exe.macosx-11.0-arm64-3.10/lib/_tkinter.cpython-310-darwin.so, 2): Library not loaded: @rpath/libtcl8.6.dylib
  Referenced from: /Users/username/try-cx_freeze/build/exe.macosx-11.0-arm64-3.10/lib/_tkinter.cpython-310-darwin.so
  Reason: image not found

However, I am happy to the installation was successful. I will try to resolve this error later.

Thanks so much for the advice! It was very helpful.

marcelotduarte commented 2 years ago

cx_Freeze is available in conda (I'm not sure if is available for arm64): conda install -c conda-forge cx_freeze

Tkinter is very problematic in previous versions of python.

marcelotduarte commented 2 years ago

And, this sample, try it with bdist_mac python setup.py bdist_mac

shinshin86 commented 2 years ago

@marcelotduarte Yes, I first tried to install it with this command, but Miniconda at pyenv itself could not be installed because it says that arm64 mac are not supported. I then set up the environment in miniforge and tried this command, but I got an error.

conda install -c conda-forge cx_freeze

Error message is here.

PackagesNotFoundError: The following packages are not available from current channels:

So I used the following method to install it. This one was successful.

https://github.com/marcelotduarte/cx_Freeze/issues/1335#issuecomment-1011110124

By the way, these tasks are done after setting up the miniforge environment using pyenv.

miniforge version is miniforge3-4.10.3-10

(Added text about the installation environment, etc.)


Thank you! I tried with the command you gave me and was able to run the executable successfully on my arm64 mac.

python setup.py bdist_mac

Here is a screenshot of a tkinter application that was successfully executed.

2022-01-13 7 57 10
marcelotduarte commented 2 years ago

Cool. I requested to build cx_freeze for osx-arm64 on conda-forge. I hope it's for the next version.

shinshin86 commented 2 years ago

@marcelotduarte Wow, that's great to hear! Thank you.

marcelotduarte commented 2 years ago

cx_Freeze 6.9 is available in conda for osx arm64: conda install -c conda-forge cx_freeze

marcelotduarte commented 2 years ago

cx_Freeze 6.10 has just been released.

shinshin86 commented 2 years ago

@marcelotduarte Thank you! I just ran this command and confirmed that it can be installed on osx-arm64.

conda install -c conda-forge cx_freeze

Just recently, I was making a notebook application to learn tkinter as well. I have also confirmed that I can turn this application into an executable using cx_Freeze. https://github.com/shinshin86/tkinter-note-app (I'm still working on this PR( https://github.com/shinshin86/tkinter-note-app/pull/1 ), but I can generate the executable and launch that one and the app works fine).

Thanks to you, I can now use cx_Freeze on my Apple Silicon Mac without any problems. Therefore, I decided to close this issue.

Your advice is very much appreciated. Thank you very much.

I will continue to use cx_Freeze. I will also send you a Pull Request if I can help in any way. Thank you!

marcelotduarte commented 2 years ago

Contributions are very appreciated. Docs