I'm trying install parquet either via pip or conda.
Command I used for pip: (for my main python install)
pip install parquet
Per comment, tried:
pip install parquet --no-cache-dir
Gives error:
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.9.0_5/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c thriftpy2/transport/cybase.c -o build/temp.macosx-11-x86_64-3.9/thriftpy2/transport/cybase.o
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
error: command '/usr/bin/clang' failed with exit code 1
Commands I used to try it via conda: (for my miniconda3 environment)
zsh
source activate opencv
conda install parquet
Note: Although I recently upgraded my Big Sur OS, I believe I still have the Apple Xcode command line tools installed correctly:
xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Pip errors:
Collecting parquet
Using cached parquet-1.3.1-py3-none-any.whl (24 kB)
Collecting thriftpy2
Using cached thriftpy2-0.4.13.tar.gz (365 kB)
Requirement already satisfied: ply<4.0,>=3.4 in /usr/local/lib/python3.9/site-packages (from thriftpy2->parquet) (3.11)
Requirement already satisfied: six~=1.15 in /usr/local/Cellar/protobuf/3.14.0/libexec/lib/python3.9/site-packages (from thriftpy2->parquet) (1.15.0)
Building wheels for collected packages: thriftpy2
Building wheel for thriftpy2 (setup.py): started
Building wheel for thriftpy2 (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"'; __file__='"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-wheel-zoxlrw_g
cwd: /private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/
Complete output (94 lines):
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
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/thriftpy2
copying thriftpy2/server.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/hook.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/thrift.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/rpc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/utils.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/tornado.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/http.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/_compat.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/_ssl.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/sslsocket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/socket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/binary.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/apache_json.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/compact.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/exc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/multiplex.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/json.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/parser.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/exc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/lexer.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib
copying thriftpy2/contrib/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/server.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/client.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/processor.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/rpc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/socket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/tracker.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/buffered.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/framed.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/binary.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/compact.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
running egg_info
writing thriftpy2.egg-info/PKG-INFO
writing dependency_links to thriftpy2.egg-info/dependency_links.txt
writing requirements to thriftpy2.egg-info/requires.txt
writing top-level names to thriftpy2.egg-info/top_level.txt
reading manifest file 'thriftpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thriftpy2.egg-info/SOURCES.txt'
copying thriftpy2/transport/cybase.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pxd -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/endian_port.h -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/transport/memory/cymemory.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/cymemory.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/buffered/cybuffered.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/cybuffered.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/framed/cyframed.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/cyframed.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/contrib/tracking/tracking.thrift -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
running build_ext
building 'thriftpy2.transport.cybase' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/thriftpy2
creating build/temp.macosx-11-x86_64-3.9/thriftpy2/transport
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.9.0_5/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c thriftpy2/transport/cybase.c -o build/temp.macosx-11-x86_64-3.9/thriftpy2/transport/cybase.o
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for thriftpy2
Running setup.py clean for thriftpy2
Failed to build thriftpy2
Installing collected packages: thriftpy2, parquet
Running setup.py install for thriftpy2: started
Running setup.py install for thriftpy2: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"'; __file__='"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-record-m7lxkivf/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/thriftpy2
cwd: /private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/
Complete output (93 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/thriftpy2
copying thriftpy2/server.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/hook.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/thrift.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/rpc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/utils.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/tornado.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/http.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
copying thriftpy2/_compat.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/_ssl.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/sslsocket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/socket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/binary.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/apache_json.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/compact.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/exc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/multiplex.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/json.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/parser.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/exc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/lexer.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/parser
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib
copying thriftpy2/contrib/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/server.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/client.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/processor.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/rpc.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/socket.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/tracker.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/buffered.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/framed.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/binary.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/compact.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/__init__.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/base.py -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/aio/protocol
running egg_info
writing thriftpy2.egg-info/PKG-INFO
writing dependency_links to thriftpy2.egg-info/dependency_links.txt
writing requirements to thriftpy2.egg-info/requires.txt
writing top-level names to thriftpy2.egg-info/top_level.txt
reading manifest file 'thriftpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thriftpy2.egg-info/SOURCES.txt'
copying thriftpy2/transport/cybase.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pxd -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/endian_port.h -> build/lib.macosx-11-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/transport/memory/cymemory.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/cymemory.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/buffered/cybuffered.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/cybuffered.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/framed/cyframed.c -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/cyframed.pyx -> build/lib.macosx-11-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/contrib/tracking/tracking.thrift -> build/lib.macosx-11-x86_64-3.9/thriftpy2/contrib/tracking
running build_ext
building 'thriftpy2.transport.cybase' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/thriftpy2
creating build/temp.macosx-11-x86_64-3.9/thriftpy2/transport
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.9.0_5/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c thriftpy2/transport/cybase.c -o build/temp.macosx-11-x86_64-3.9/thriftpy2/transport/cybase.o
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11'
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 sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"'; __file__='"'"'/private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-install-24lg9_3r/thriftpy2_b14f59c024c149e2ad765d39429fbf7c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/y3/rxnq666x3cq3c76ss368pdpc0000gp/T/pip-record-m7lxkivf/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/thriftpy2 Check the logs for full command output.
Conda Errors:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- parquet
Current channels:
- https://conda.anaconda.org/conda-forge/osx-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
macOS Big Sur - Installing pip for Python The new version of macOS doesn’t appear to have pip installed by default, you can install it by running this command in a Terminal window: sudo easy_install install pip
In case of conda, after your environment is activated, you can then install a package via conda install <package name>, e.g. the package numpy In case of pip, after your environment is activated, you can then install a package via pip install <package name>, e.g. the package numpy
It can conflict with Mac’s own built-in Security gatekeeper and noatrize feature. Quit the antivirus app, and then install the MacOS Big Sur installation package again. In addition, macOS Catalina and MacOS Big Sur has powerful gatekeeper and noatrize feature to detect and refuse the malicious software than old macOS.
If you have an error downloading or installing a MacOS Big Sur package, see the solution below 1. Check the free storage of Mac Startup volume The file size of MacOS Big Sur installation package is about 12.18 GB, it requires at least 35.5GB available storage to install on the startup volume.
From the error it's clear that pip
is trying to compile parquet
on your system. This error is because MACOSX_DEPLOYMENT_TARGET=11.0
is not included in the stable XCode Command Line Tools for MacOS 11. You need to install XCode Command Line Tools 12.3 Beta. After that just run pip install
again.
If you want to install "parquet" in another way then you'll need Pycharm, It should be easy to install.
Open Pycharm and follow the steps:
step 2
Please let me know if any issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With