smd
smd copied to clipboard
Installation not working on Mac OSX Big Sur
Hi! I have problem with installation SMD on Mac OSX Big Sur.
ducho@DSs-MacBook-Pro smd % xcode-select -v xcode-select version 2384
ducho@DSs-MacBook-Pro smd % pip -V pip 21.2.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
ERROR: Failed building wheel for lxml Running setup.py clean for lxml Building wheel for pygame (setup.py) ... error ERROR: Command errored out with exit status 1:
ducho@DSs-MacBook-Pro smd % pip3 install -r requirements.txt
WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib/python3.9/site-packages
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib/python3.9/site-packages
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/include/python3.9/UNKNOWN
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9/UNKNOWN
WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/bin
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/bin
WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Collecting notify2==0.3.1
Using cached notify2-0.3.1-py2.py3-none-any.whl (8.0 kB)
Requirement already satisfied: spotipy==2.4.4 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (2.4.4)
Collecting lyricsgenius==1.4.0
Using cached lyricsgenius-1.4.0-py3-none-any.whl (13 kB)
Collecting lxml==4.3.3
Using cached lxml-4.3.3.tar.gz (4.4 MB)
Collecting mutagen==1.41.0
Using cached mutagen-1.41.0-py3-none-any.whl
Requirement already satisfied: requests==2.21.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (2.21.0)
Collecting moviepy==0.2.3.5
Using cached moviepy-0.2.3.5-py3-none-any.whl
Requirement already satisfied: imageio==2.3.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (2.3.0)
Collecting humanize==0.5.1
Using cached humanize-0.5.1-py3-none-any.whl
Collecting pygame==1.9.6
Using cached pygame-1.9.6.tar.gz (3.2 MB)
Requirement already satisfied: youtube_dl==2019.7.30 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (2019.7.30)
Collecting Flask==0.12.2
Using cached Flask-0.12.2-py2.py3-none-any.whl (83 kB)
Requirement already satisfied: pytube==9.5.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 13)) (9.5.1)
Requirement already satisfied: PyQt5==5.13.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 14)) (5.13.0)
Requirement already satisfied: beautifulsoup4==4.6.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 15)) (4.6.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2021.5.30)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.9/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (3.0.4)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (1.24.3)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2.8)
Requirement already satisfied: decorator<5.0,>=4.0.2 in /usr/local/lib/python3.9/site-packages (from moviepy==0.2.3.5->-r requirements.txt (line 7)) (4.4.2)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in /usr/local/lib/python3.9/site-packages (from moviepy==0.2.3.5->-r requirements.txt (line 7)) (4.61.2)
Requirement already satisfied: numpy in /usr/local/lib/python3.9/site-packages (from moviepy==0.2.3.5->-r requirements.txt (line 7)) (1.21.0)
Requirement already satisfied: pillow in /usr/local/lib/python3.9/site-packages (from imageio==2.3.0->-r requirements.txt (line 8)) (8.3.1)
Requirement already satisfied: click>=2.0 in /usr/local/lib/python3.9/site-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (8.0.1)
Requirement already satisfied: Werkzeug>=0.7 in /usr/local/lib/python3.9/site-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (2.0.1)
Requirement already satisfied: itsdangerous>=0.21 in /usr/local/lib/python3.9/site-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (2.0.1)
Requirement already satisfied: Jinja2>=2.4 in /usr/local/lib/python3.9/site-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (3.0.1)
Requirement already satisfied: PyQt5_sip<13,>=4.19.14 in /usr/local/lib/python3.9/site-packages (from PyQt5==5.13.0->-r requirements.txt (line 14)) (12.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.9/site-packages (from Jinja2>=2.4->Flask==0.12.2->-r requirements.txt (line 12)) (2.0.1)
Building wheels for collected packages: lxml, pygame
Building wheel for lxml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/lxml_cbfc8b3e1a734519b4414c9fe9d24fde/setup.py'"'"'; __file__='"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/lxml_cbfc8b3e1a734519b4414c9fe9d24fde/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/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-wheel-f2rky2sg
cwd: /private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/lxml_cbfc8b3e1a734519b4414c9fe9d24fde/
Complete output (146 lines):
Building lxml version 4.3.3.
Building without Cython.
Using build configuration of libxslt 1.1.29
Building against libxml2/libxslt in the following directory: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/sax.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/__init__.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/builder.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-11-x86_64-3.9/lxml
creating build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-11-x86_64-3.9/lxml/includes
creating build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-11-x86_64-3.9/lxml/html
creating build/lib.macosx-11-x86_64-3.9/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/etree_api.h -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/lxml.etree.h -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-11-x86_64-3.9/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-11-x86_64-3.9/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-11-x86_64-3.9/lxml/includes
creating build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources
creating build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/rng
creating build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl
creating build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-11-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/src
creating build/temp.macosx-11-x86_64-3.9/src/lxml
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -DCYTHON_CLINE_IN_TRACEBACK=0 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -Isrc -Isrc/lxml/includes -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/lxml/etree.c -o build/temp.macosx-11-x86_64-3.9/src/lxml/etree.o -w -flat_namespace
src/lxml/etree.c:231155:33: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree_Error.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231163:37: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree_LxmlError.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231171:37: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree_C14NError.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231181:38: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__TempStore.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231194:45: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__ExceptionContext.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231204:37: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__LogEntry.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231219:41: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__BaseErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231231:41: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__ListErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231242:44: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__ErrorLogContext.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231258:37: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__ErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231270:43: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__DomainErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231282:45: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__RotatingErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231295:38: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree_PyErrorLog.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231312:20: error: no member named 'tp_print' in 'struct _typeobject'
LxmlDocumentType.tp_print = 0;
~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231322:35: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree_DocInfo.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231330:19: error: no member named 'tp_print' in 'struct _typeobject'
LxmlElementType.tp_print = 0;
~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231410:48: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree___ContentOnlyElement.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231450:36: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__Comment.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/lxml/etree.c:231461:50: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type_4lxml_5etree__ProcessingInstruction.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
creating var
creating var/folders
creating var/folders/87
creating var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn
creating var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T
cc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/include/libxml2 -c /var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/xmlXPathInitjsadwtm9.c -o var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/xmlXPathInitjsadwtm9.o
cc var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/xmlXPathInitjsadwtm9.o -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lxml2 -o a.out
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for lxml
Running setup.py clean for lxml
Building wheel for pygame (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/setup.py'"'"'; __file__='"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/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/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-wheel-9qa62yea
cwd: /private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/
Complete output (218 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/surfarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sysfont.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_camera_vidcapture.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sndarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/version.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/compat.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/draw_py.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/colordict.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/ftfont.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/midi.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/cursors.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/font.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_numpysndarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sprite.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/macosx.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_numpysurfarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/camera.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/freetype.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_camera_opencv_highgui.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/pkgdata.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/locals.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_dummybackend.py -> build/lib.macosx-11-x86_64-3.9/pygame
creating build/lib.macosx-11-x86_64-3.9/pygame/threads
copying src_py/threads/Py25Queue.py -> build/lib.macosx-11-x86_64-3.9/pygame/threads
copying src_py/threads/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/threads
creating build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/base_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/font_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/rwobject_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/pixelcopy_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/overlay_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/scrap_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/touch_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/imageext_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/pixelarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/draw_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/transform_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/blit_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/bufferproxy_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surfarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mouse_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surfarray_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/event_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/imageext_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sprite_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/touch_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/gfxdraw_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/rect_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/scrap_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/overlay_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/color_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/camera_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surflock_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/key_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sysfont_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/font_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/constants_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_music_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sndarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/version_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/freetype_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/joystick_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/midi_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/ftfont_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image__save_gl_surface_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cdrom_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cursors_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/fastevent_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/display_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/fastevent_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/compat_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/ftfont_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cdrom_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mask_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/midi_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/freetype_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/math_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/time_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/threads_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/__main__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_music_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sndarray_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/test_test_.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surface_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/run_tests.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/endian.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/test_machinery.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/png.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/test_runner.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/arrinter.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/buftools.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/async_sub.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
copying test/run_tests__tests/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
creating build/lib.macosx-11-x86_64-3.9/pygame/docs
copying docs/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/docs
copying docs/__main__.py -> build/lib.macosx-11-x86_64-3.9/pygame/docs
creating build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/playmus.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/mask.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/sound.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/overlay.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/aacircle.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/chimp.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/liquid.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/audiocapture.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/sound_array_demos.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/midi.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scroll.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/cursors.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/moveit.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/blit_blends.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/testsprite.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/textinput.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/vgrade.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/arraydemo.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/stars.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/camera.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/blend_fill.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/fonty.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/headless_no_windows_needed.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/fastevents.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/prevent_display_stretching.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/glcube.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/aliens.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/freetype_misc.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scaletest.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/video.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/eventlist.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scrap_clipboard.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/oldalien.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/pixelarray.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/dropevent.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
running build_ext
building 'pygame.gfxdraw' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/src_c
creating build/temp.macosx-11-x86_64-3.9/src_c/SDL_gfx
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -DENABLE_NEWBUF=1 -I/NEED_INC_PATH_FIX -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src_c/SDL_gfx/SDL_gfxPrimitives.c -o build/temp.macosx-11-x86_64-3.9/src_c/SDL_gfx/SDL_gfxPrimitives.o
In file included from src_c/SDL_gfx/SDL_gfxPrimitives.c:14:
src_c/SDL_gfx/SDL_gfxPrimitives.h:17:10: fatal error: 'SDL.h' file not found
#include "SDL.h"
^~~~~~~
1 error generated.
---
For help with compilation see:
https://www.pygame.org/wiki/MacCompile
To contribute to pygame development see:
https://www.pygame.org/contribute.html
---
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pygame
Running setup.py clean for pygame
Failed to build lxml pygame
Installing collected packages: pygame, notify2, mutagen, moviepy, lyricsgenius, lxml, humanize, Flask
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/include/python3.9/pygame
sysconfig: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9/pygame
Running setup.py install for pygame ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/setup.py'"'"'; __file__='"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/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/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-record-td10c6a_/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pygame
cwd: /private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/
Complete output (218 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/surfarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sysfont.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_camera_vidcapture.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sndarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/version.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/compat.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/draw_py.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/colordict.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/ftfont.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/midi.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/cursors.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/font.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_numpysndarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/sprite.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/macosx.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_numpysurfarray.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/camera.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/freetype.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_camera_opencv_highgui.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/pkgdata.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/locals.py -> build/lib.macosx-11-x86_64-3.9/pygame
copying src_py/_dummybackend.py -> build/lib.macosx-11-x86_64-3.9/pygame
creating build/lib.macosx-11-x86_64-3.9/pygame/threads
copying src_py/threads/Py25Queue.py -> build/lib.macosx-11-x86_64-3.9/pygame/threads
copying src_py/threads/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/threads
creating build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/base_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/font_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/rwobject_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/pixelcopy_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/overlay_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/scrap_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/touch_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/imageext_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/pixelarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/draw_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/transform_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/blit_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/bufferproxy_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surfarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mouse_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surfarray_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/event_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/imageext_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sprite_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/touch_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/gfxdraw_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/rect_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/scrap_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/overlay_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/color_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/camera_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surflock_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/key_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sysfont_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/font_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/constants_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_music_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sndarray_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/version_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/freetype_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/joystick_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/midi_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/ftfont_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image__save_gl_surface_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cdrom_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cursors_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/fastevent_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/display_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/fastevent_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/compat_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/ftfont_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/cdrom_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mask_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/midi_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/freetype_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/math_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/time_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/image_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/threads_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/__main__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/mixer_music_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/sndarray_tags.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/test_test_.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
copying test/surface_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/run_tests.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/endian.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/test_machinery.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/png.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/test_runner.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/arrinter.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/buftools.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
copying test/test_utils/async_sub.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/test_utils
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
copying test/run_tests__tests/run_tests__test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
copying test/run_tests__tests/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_5_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/no_assertions__ret_code_of_1__test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/zero_tests_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
copying test/run_tests__tests/all_ok/fake_6_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/all_ok
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
copying test/run_tests__tests/failures1/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/failures1
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
copying test/run_tests__tests/incomplete/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/fake_1_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
copying test/run_tests__tests/infinite_loop/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/infinite_loop
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
copying test/run_tests__tests/print_stderr/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stderr
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
copying test/run_tests__tests/print_stdout/fake_4_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/print_stdout
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_3_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
copying test/run_tests__tests/incomplete_todo/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/incomplete_todo
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/magic_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
copying test/run_tests__tests/exclude/invisible_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/exclude
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/sleep_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
copying test/run_tests__tests/timeout/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/timeout
creating build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/sleep_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/magic_tag_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/fake_2_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/incomplete_todo_test.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
copying test/run_tests__tests/everything/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/tests/run_tests__tests/everything
creating build/lib.macosx-11-x86_64-3.9/pygame/docs
copying docs/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/docs
copying docs/__main__.py -> build/lib.macosx-11-x86_64-3.9/pygame/docs
creating build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/playmus.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/mask.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/sound.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/overlay.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/aacircle.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/chimp.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/liquid.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/audiocapture.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/sound_array_demos.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/midi.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scroll.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/cursors.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/moveit.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/__init__.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/blit_blends.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/testsprite.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/textinput.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/vgrade.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/arraydemo.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/stars.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/camera.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/blend_fill.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/fonty.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/headless_no_windows_needed.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/fastevents.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/prevent_display_stretching.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/glcube.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/aliens.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/freetype_misc.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scaletest.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/video.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/eventlist.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/scrap_clipboard.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/oldalien.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/pixelarray.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
copying examples/dropevent.py -> build/lib.macosx-11-x86_64-3.9/pygame/examples
running build_ext
building 'pygame.gfxdraw' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/src_c
creating build/temp.macosx-11-x86_64-3.9/src_c/SDL_gfx
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -DENABLE_NEWBUF=1 -I/NEED_INC_PATH_FIX -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src_c/SDL_gfx/SDL_gfxPrimitives.c -o build/temp.macosx-11-x86_64-3.9/src_c/SDL_gfx/SDL_gfxPrimitives.o
In file included from src_c/SDL_gfx/SDL_gfxPrimitives.c:14:
src_c/SDL_gfx/SDL_gfxPrimitives.h:17:10: fatal error: 'SDL.h' file not found
#include "SDL.h"
^~~~~~~
1 error generated.
---
For help with compilation see:
https://www.pygame.org/wiki/MacCompile
To contribute to pygame development see:
https://www.pygame.org/contribute.html
---
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/setup.py'"'"'; __file__='"'"'/private/var/folders/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-install-99l1vp5j/pygame_5ca8188a50984e97bae7d1a7ecc3ce3c/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/87/6l726q2x6bg_sc6p99hq8px00000gn/T/pip-record-td10c6a_/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pygame Check the logs for full command output.```
Troubleshooting Spotify Music Downloader installation on macOS Big Sur
Hi there,
I understand you're facing issues while installing SMD on your Mac running Big Sur. Here are some steps you can try to troubleshoot the error:
1. Install Xcode Command Line Tools:
- Open a terminal window.
- Run the following command:
xcode-select --install
- Follow the on-screen prompts to install the Xcode Command Line Tools if they are not already installed.
2. Reinstall or upgrade libxml2
and libxslt
:
These libraries are dependencies for lxml and might be causing the build failure. Try reinstalling or upgrading them using Homebrew:
brew install libxml2 libxslt
3. Ensure you have the correct Python version:
SMD might have specific Python version requirements. Check the project's documentation or GitHub repository to confirm the supported Python version. If necessary, install the appropriate version using the official Python installer (https://www.python.org/downloads/) or using tools like pyenv
for managing multiple Python versions.
4. Try installing from pre-built wheels:
Instead of building from source, try installing lxml using pre-built wheels:
pip install lxml --no-cache-dir
The --no-cache-dir
flag ensures that pip downloads the latest wheel from the PyPI repository.
5. Check for conflicting installations:
If you have multiple Python environments or conflicting installations of libraries, it could lead to issues. Consider creating a clean virtual environment to isolate the dependencies for SMD:
python3 -m venv venv
source venv/bin/activate
pip install smd
6. Check online resources:
- Search for solutions related to "SMD installation error" or "lxml build error on macOS Big Sur" on forums like Stack Overflow or the SMD project's GitHub issue tracker.
- Refer to the SMD documentation or GitHub repository for any specific installation instructions relevant to your environment.
Additional Tips:
- Make sure you have administrator privileges when running
pip
commands. - If you're still encountering issues, provide more details about your setup, including the exact error message you're receiving, any additional configuration steps you've taken, and the SMD version you're trying to install. This information can help diagnose the problem more effectively.
By following these steps and referencing online resources, you should be able to resolve the installation issue and successfully install SMD on your Mac.