![]() # Install required packages and flags for building this particular python version through emulationĮxport CPPFLAGS="-I$(brew86 -prefix libffi)/include -I$(brew86 -prefix openssl)/include -I$(brew86 -prefix readline)/lib"Įxport CFLAGS="-I$(brew86 -prefix openssl)/include -I$(brew86 -prefix bzip2)/include -I$(brew86 -prefix readline)/include -I$(xcrun -show-sdk-path)/usr/include -Wno-implicit-function-declaration"Įxport LDFLAGS="-L$(brew86 -prefix openssl)/lib -L$(brew86 -prefix readline)/lib -L$(brew86 -prefix zlib)/lib -L$(brew86 -prefix bzip2)/lib -L$(brew86 -prefix gettext)/lib -L$(brew86 -prefix libffi)/lib" # Set up x86_64 homebrew and pyenv and temporarily set aliasesĪlias brew86="arch -x86_64 /usr/local/bin/brew" usr/sbin/softwareupdate -install-rosetta -agree-to-licenseĪrch -x86_64 /bin/bash -c "$(curl -fsSL )" There is probably some things in here that can be removed/refined. I successfully installed Python 3.6 on an Apple M1 MacBook Pro running Monterey using the following setup. ![]() Is there a way to solve this? I've looked and it seems like Mac M1 doesn't allow installing 3.6.* Make: *** No targets specified and no makefile found. darwinĬonfigure: error: internal configure error for the platform triplet, please file a bug report If this is not intended, then set CXX on the configure command line.Ĭhecking for the platform triplet based on compiler characteristics. Results logged to /var/folders/r5/xz73mp557w30h289rr6trb800000gp/T/īy default, distutils will build C++ extension modules with "clang++". I'm trying to run an old app that requires python īUILD FAILED (OS X 12.3.1 using python-build 2.2.5-11-gf0f2cdd1)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |