Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issues with Python 3.9 on mac Big Sur #2356

Closed
dalmia opened this issue Nov 15, 2020 · 8 comments · Fixed by #2452
Closed

Installation issues with Python 3.9 on mac Big Sur #2356

dalmia opened this issue Nov 15, 2020 · 8 comments · Fixed by #2452
Labels
type:bug Something isn't working

Comments

@dalmia
Copy link

dalmia commented Nov 15, 2020

Summary

Hi everyone. I am trying to install streamlit on a new Mac that I recently bought and upgraded to mac Big Sur instantly. I have installed Python using Homebrew. However, upon using pip, I get the following error:

/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    1 warning generated.
    clang: numpy/core/src/common/python_xerbla.c
    1 warning generated.
    clang: numpy/core/src/umath/extobj.c
    clang: numpy/core/src/common/cblasfuncs.c
    17 warnings generated.
    clang: numpy/core/src/umath/ufunc_type_resolution.c
    4 warnings generated.
    4 warnings generated.
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/alloc.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/arrayobject.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/arraytypes.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/array_assign_scalar.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/array_assign_array.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/buffer.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/calculation.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/compiled_base.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/common.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/convert.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/convert_datatype.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/conversion_utils.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/ctors.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/datetime.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/datetime_strings.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/datetime_busday.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/datetime_busdaycal.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/descriptor.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/dragon4.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/dtype_transfer.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/einsum.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/flagsobject.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/getset.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/hashdescr.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/item_selection.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/iterators.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/lowlevel_strided_loops.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/mapping.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/methods.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/multiarraymodule.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/nditer_templ.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/nditer_api.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/nditer_constr.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/nditer_pywrap.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/number.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/refcount.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/sequence.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/shape.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/scalarapi.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/scalartypes.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/strfuncs.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/temp_elide.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/typeinfo.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/usertypes.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/multiarray/vdot.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/umathmodule.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/reduction.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/loops.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/matmul.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/ufunc_object.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/extobj.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/cpuid.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/scalarmath.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/ufunc_type_resolution.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/umath/override.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/npy_math.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/ieee754.o build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/npy_math_complex.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/halffloat.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/array_assign.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/mem_overlap.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/npy_longdouble.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/ucsnarrow.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/ufunc_override.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/numpyos.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/cblasfuncs.o build/temp.macosx-11.0-x86_64-3.9/numpy/core/src/common/python_xerbla.o -L/opt/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -lnpymath -lnpysort -lopenblas -lopenblas -o build/lib.macosx-11.0-x86_64-3.9/numpy/core/_multiarray_umath.cpython-39-darwin.so
    building 'numpy.core._umath_tests' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_umath_tests.c
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_umath_tests.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -o build/lib.macosx-11.0-x86_64-3.9/numpy/core/_umath_tests.cpython-39-darwin.so
    building 'numpy.core._rational_tests' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_rational_tests.c
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_rational_tests.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -o build/lib.macosx-11.0-x86_64-3.9/numpy/core/_rational_tests.cpython-39-darwin.so
    building 'numpy.core._struct_ufunc_tests' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_struct_ufunc_tests.c
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_struct_ufunc_tests.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -o build/lib.macosx-11.0-x86_64-3.9/numpy/core/_struct_ufunc_tests.cpython-39-darwin.so
    building 'numpy.core._operand_flag_tests' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_operand_flag_tests.c
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/_operand_flag_tests.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -o build/lib.macosx-11.0-x86_64-3.9/numpy/core/_operand_flag_tests.cpython-39-darwin.so
    building 'numpy.fft.fftpack_lite' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    creating build/temp.macosx-11.0-x86_64-3.9/numpy/fft
    compile options: '-Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: numpy/fft/fftpack_litemodule.c
    clang: numpy/fft/fftpack.c
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/numpy/fft/fftpack_litemodule.o build/temp.macosx-11.0-x86_64-3.9/numpy/fft/fftpack.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -o build/lib.macosx-11.0-x86_64-3.9/numpy/fft/fftpack_lite.cpython-39-darwin.so
    building 'numpy.linalg.lapack_lite' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    creating build/temp.macosx-11.0-x86_64-3.9/numpy/linalg
    creating build/temp.macosx-11.0-x86_64-3.9/numpy/linalg/lapack_lite
    compile options: '-DHAVE_CBLAS -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: numpy/linalg/lapack_litemodule.cclang: numpy/linalg/lapack_lite/python_xerbla.c
  
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/numpy/linalg/lapack_litemodule.o build/temp.macosx-11.0-x86_64-3.9/numpy/linalg/lapack_lite/python_xerbla.o -L/opt/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -lopenblas -lopenblas -o build/lib.macosx-11.0-x86_64-3.9/numpy/linalg/lapack_lite.cpython-39-darwin.so
    building 'numpy.linalg._umath_linalg' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    creating build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/linalg
    compile options: '-DHAVE_CBLAS -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: build/src.macosx-11.0-x86_64-3.9/numpy/linalg/umath_linalg.c
    numpy/linalg/umath_linalg.c.src:735:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
    #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
                                   ^
    numpy/linalg/umath_linalg.c.src:541:1: warning: unused function 'dump_ufunc_object' [-Wunused-function]
    dump_ufunc_object(PyUFuncObject* ufunc)
    ^
    numpy/linalg/umath_linalg.c.src:566:1: warning: unused function 'dump_linearize_data' [-Wunused-function]
    dump_linearize_data(const char* name, const LINEARIZE_DATA_t* params)
    ^
    numpy/linalg/umath_linalg.c.src:602:1: warning: unused function 'dump_FLOAT_matrix' [-Wunused-function]
    dump_FLOAT_matrix(const char* name,
    ^
    numpy/linalg/umath_linalg.c.src:602:1: warning: unused function 'dump_DOUBLE_matrix' [-Wunused-function]
    dump_DOUBLE_matrix(const char* name,
    ^
    numpy/linalg/umath_linalg.c.src:602:1: warning: unused function 'dump_CFLOAT_matrix' [-Wunused-function]
    dump_CFLOAT_matrix(const char* name,
    ^
    numpy/linalg/umath_linalg.c.src:602:1: warning: unused function 'dump_CDOUBLE_matrix' [-Wunused-function]
    dump_CDOUBLE_matrix(const char* name,
    ^
    numpy/linalg/umath_linalg.c.src:865:1: warning: unused function 'zero_FLOAT_matrix' [-Wunused-function]
    zero_FLOAT_matrix(void *dst_in, const LINEARIZE_DATA_t* data)
    ^
    numpy/linalg/umath_linalg.c.src:865:1: warning: unused function 'zero_DOUBLE_matrix' [-Wunused-function]
    zero_DOUBLE_matrix(void *dst_in, const LINEARIZE_DATA_t* data)
    ^
    numpy/linalg/umath_linalg.c.src:865:1: warning: unused function 'zero_CFLOAT_matrix' [-Wunused-function]
    zero_CFLOAT_matrix(void *dst_in, const LINEARIZE_DATA_t* data)
    ^
    numpy/linalg/umath_linalg.c.src:865:1: warning: unused function 'zero_CDOUBLE_matrix' [-Wunused-function]
    zero_CDOUBLE_matrix(void *dst_in, const LINEARIZE_DATA_t* data)
    ^
    numpy/linalg/umath_linalg.c.src:1862:1: warning: unused function 'dump_geev_params' [-Wunused-function]
    dump_geev_params(const char *name, GEEV_PARAMS_t* params)
    ^
    numpy/linalg/umath_linalg.c.src:2132:1: warning: unused function 'init_cgeev' [-Wunused-function]
    init_cgeev(GEEV_PARAMS_t* params,
    ^
    numpy/linalg/umath_linalg.c.src:2213:1: warning: unused function 'process_cgeev_results' [-Wunused-function]
    process_cgeev_results(GEEV_PARAMS_t *NPY_UNUSED(params))
    ^
    numpy/linalg/umath_linalg.c.src:2376:1: warning: unused function 'dump_gesdd_params' [-Wunused-function]
    dump_gesdd_params(const char *name,
    ^
    numpy/linalg/umath_linalg.c.src:2864:1: warning: unused function 'dump_gelsd_params' [-Wunused-function]
    dump_gelsd_params(const char *name,
    ^
    16 warnings generated.
    clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -L/usr/local/opt/lapack/lib, -L/usr/local/opt/openblas/lib -I/usr/local/opt/lapack/include -I/usr/local/opt/openblas/include build/temp.macosx-11.0-x86_64-3.9/build/src.macosx-11.0-x86_64-3.9/numpy/linalg/umath_linalg.o build/temp.macosx-11.0-x86_64-3.9/numpy/linalg/lapack_lite/python_xerbla.o -L/opt/local/lib -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-11.0-x86_64-3.9 -lnpymath -lopenblas -lopenblas -o build/lib.macosx-11.0-x86_64-3.9/numpy/linalg/_umath_linalg.cpython-39-darwin.so
    building 'numpy.random.mtrand' extension
    compiling C sources
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
    creating build/temp.macosx-11.0-x86_64-3.9/numpy/random
    creating build/temp.macosx-11.0-x86_64-3.9/numpy/random/mtrand
    compile options: '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
    clang: numpy/random/mtrand/initarray.c
    clang: numpy/random/mtrand/randomkit.c
    clang: numpy/random/mtrand/mtrand.c
    clang: numpy/random/mtrand/distributions.c
    numpy/random/mtrand/mtrand.c:40400:34: error: no member named 'tp_print' in 'struct _typeobject'
      __pyx_type_6mtrand_RandomState.tp_print = 0;
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    numpy/random/mtrand/mtrand.c:42673:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                         ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
          PyUnicode_WSTR_LENGTH(op) :                    \
          ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42673:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                         ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
          ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                 ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42673:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                         ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
           PyUnicode_WSTR_LENGTH(op)))
           ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42673:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                       ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
          PyUnicode_WSTR_LENGTH(op) :                    \
          ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42673:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                       ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
          ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                 ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42673:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                        (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                       ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
           PyUnicode_WSTR_LENGTH(op)))
           ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                             ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
          PyUnicode_WSTR_LENGTH(op) :                    \
          ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                             ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
          ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                 ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                             ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
           PyUnicode_WSTR_LENGTH(op)))
           ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                              ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
          PyUnicode_WSTR_LENGTH(op) :                    \
          ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                              ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
          ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                 ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    numpy/random/mtrand/mtrand.c:42689:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                            (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                              ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
           PyUnicode_WSTR_LENGTH(op)))
           ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
    #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                      ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
    Py_DEPRECATED(3.3)
    ^
    /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
    #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                         ^
    12 warnings and 1 error generated.
    error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c numpy/random/mtrand/mtrand.c -o build/temp.macosx-11.0-x86_64-3.9/numpy/random/mtrand/mtrand.o -MMD -MF build/temp.macosx-11.0-x86_64-3.9/numpy/random/mtrand/mtrand.o.d" failed with exit status 1
    ----------------------------------------
    ERROR: Failed building wheel for numpy
    Running setup.py clean for numpy
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/setup.py'"'"'; __file__='"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
         cwd: /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy
    Complete output (10 lines):
    Running from numpy source directory.
  
    `setup.py clean` is not supported, use one of the following instead:
  
      - `git clean -xdf` (cleans all files)
      - `git clean -Xdf` (cleans all versioned files, doesn't touch
                          files that aren't checked into the git repo)
  
    Add `--force` to your command to use it anyway if you must (unsupported).
  
    ----------------------------------------
    ERROR: Failed cleaning build dir for numpy
  Failed to build numpy
  Installing collected packages: cython, numpy, setuptools, setuptools-scm, wheel
      Running setup.py install for numpy: started
      Running setup.py install for numpy: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/setup.py'"'"'; __file__='"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/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/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-record-4gdqaqpu/install-record.txt --single-version-externally-managed --prefix /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-build-env-a4pz8qjs/overlay --compile --install-headers /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-build-env-a4pz8qjs/overlay/include/python3.9/numpy
           cwd: /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/
      Complete output (342 lines):
      Running from numpy source directory.
  
      Note: if you need reliable uninstall behavior, then install
      with pip instead of using `setup.py install`:
  
        - `pip install .`       (from a git repo or downloaded source
                                 release)
        - `pip install numpy`   (last NumPy release on PyPi)
  
  
      blas_opt_info:
      blas_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib', '/opt/local/lib']
        NOT AVAILABLE
  
      blis_info:
      customize UnixCCompiler
        libraries blis not found in ['/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib', '/opt/local/lib']
        NOT AVAILABLE
  
      openblas_info:
      customize UnixCCompiler
      customize UnixCCompiler
      customize UnixCCompiler
        FOUND:
          libraries = ['openblas', 'openblas']
          library_dirs = ['/opt/local/lib']
          language = c
          define_macros = [('HAVE_CBLAS', None)]
  
        FOUND:
          libraries = ['openblas', 'openblas']
          library_dirs = ['/opt/local/lib']
          language = c
          define_macros = [('HAVE_CBLAS', None)]
  
      /bin/sh: svnversion: command not found
      non-existing path in 'numpy/distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib', '/usr/local/lib', '/usr/lib', '/opt/local/lib']
        NOT AVAILABLE
  
      openblas_lapack_info:
      customize UnixCCompiler
      customize UnixCCompiler
      customize UnixCCompiler
      C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders/rd
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T
      creating /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu
      compile options: '-c'
      clang: /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/source.c
      clang /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/source.o -L/opt/local/lib -lopenblas -o /var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/tmpj_3ak4pu/a.out
      customize UnixCCompiler
        FOUND:
          libraries = ['openblas', 'openblas']
          library_dirs = ['/opt/local/lib']
          language = c
          define_macros = [('HAVE_CBLAS', None)]
  
        FOUND:
          libraries = ['openblas', 'openblas']
          library_dirs = ['/opt/local/lib']
          language = c
          define_macros = [('HAVE_CBLAS', None)]
  
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      running install
      running build
      running config_cc
      unifing config_cc, config, build_clib, build_ext, build commands --compiler options
      running config_fc
      unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
      running build_src
      build_src
      building py_modules sources
      building library "npymath" sources
      get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
      customize Gnu95FCompiler
      Found executable /usr/local/bin/gfortran
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      customize Gnu95FCompiler
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      gfortran: warning: couldn't understand version 11.0
      customize Gnu95FCompiler using config
      C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
      compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c'
      clang: _configtest.c
      clang _configtest.o -o _configtest
      success!
      removing: _configtest.c _configtest.o _configtest.o.d _configtest
      C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
      compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c'
      clang: _configtest.c
      _configtest.c:1:5: warning: incompatible redeclaration of library function 'exp' [-Wincompatible-library-redeclaration]
      int exp (void);
          ^
      _configtest.c:1:5: note: 'exp' is a builtin with type 'double (double)'
      1 warning generated.
      clang _configtest.o -o _configtest
      success!
      removing: _configtest.c _configtest.o _configtest.o.d _configtest
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath' to include_dirs.
      None - nothing done with h_files = ['build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/npy_math_internal.h']
      building library "npysort" sources
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common' to include_dirs.
      None - nothing done with h_files = ['build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common/npy_binsearch.h']
      building extension "numpy.core._dummy" sources
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/config.h' to sources.
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/_numpyconfig.h' to sources.
      executing numpy/core/code_generators/generate_numpy_api.py
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__multiarray_api.h' to sources.
      numpy.core - nothing done with h_files = ['build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__multiarray_api.h']
      building extension "numpy.core._multiarray_tests" sources
      building extension "numpy.core._multiarray_umath" sources
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/config.h' to sources.
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/_numpyconfig.h' to sources.
      executing numpy/core/code_generators/generate_numpy_api.py
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__multiarray_api.h' to sources.
      executing numpy/core/code_generators/generate_ufunc_api.py
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__ufunc_api.h' to sources.
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath' to include_dirs.
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath' to include_dirs.
        adding 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common' to include_dirs.
      numpy.core - nothing done with h_files = ['build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath/npy_math_internal.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy/__ufunc_api.h']
      building extension "numpy.core._umath_tests" sources
      building extension "numpy.core._rational_tests" sources
      building extension "numpy.core._struct_ufunc_tests" sources
      building extension "numpy.core._operand_flag_tests" sources
      building extension "numpy.fft.fftpack_lite" sources
      building extension "numpy.linalg.lapack_lite" sources
        adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
      building extension "numpy.linalg._umath_linalg" sources
        adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
      building extension "numpy.random.mtrand" sources
      building data_files sources
      build_src: building npy-pkg config files
      running build_py
      copying numpy/version.py -> build/lib.macosx-11.0-x86_64-3.9/numpy
      copying build/src.macosx-11.0-x86_64-3.9/numpy/__config__.py -> build/lib.macosx-11.0-x86_64-3.9/numpy
      copying build/src.macosx-11.0-x86_64-3.9/numpy/distutils/__config__.py -> build/lib.macosx-11.0-x86_64-3.9/numpy/distutils
      running build_clib
      customize UnixCCompiler
      customize UnixCCompiler using build_clib
      running build_ext
      customize UnixCCompiler
      customize UnixCCompiler using build_ext
      building 'numpy.random.mtrand' extension
      compiling C sources
      C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include
  
      compile options: '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c'
      clang: numpy/random/mtrand/mtrand.c
      numpy/random/mtrand/mtrand.c:40400:34: error: no member named 'tp_print' in 'struct _typeobject'
        __pyx_type_6mtrand_RandomState.tp_print = 0;
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
      numpy/random/mtrand/mtrand.c:42673:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                           ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
            PyUnicode_WSTR_LENGTH(op) :                    \
            ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42673:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                           ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
            ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                   ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42673:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                           ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
             PyUnicode_WSTR_LENGTH(op)))
             ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42673:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                         ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
            PyUnicode_WSTR_LENGTH(op) :                    \
            ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42673:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                         ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
            ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                   ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42673:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                          (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                         ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
             PyUnicode_WSTR_LENGTH(op)))
             ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                               ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
            PyUnicode_WSTR_LENGTH(op) :                    \
            ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                               ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
            ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                   ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                               ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
             PyUnicode_WSTR_LENGTH(op)))
             ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                                ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
            PyUnicode_WSTR_LENGTH(op) :                    \
            ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                                ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
            ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
                   ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      numpy/random/mtrand/mtrand.c:42689:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
                              (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                                                                ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
             PyUnicode_WSTR_LENGTH(op)))
             ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
      #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
                                        ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
      Py_DEPRECATED(3.3)
      ^
      /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      12 warnings and 1 error generated.
      error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -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/opt/lapack/include -I/usr/local/opt/openblas/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/common -Ibuild/src.macosx-11.0-x86_64-3.9/numpy/core/src/npymath -c numpy/random/mtrand/mtrand.c -o build/temp.macosx-11.0-x86_64-3.9/numpy/random/mtrand/mtrand.o -MMD -MF build/temp.macosx-11.0-x86_64-3.9/numpy/random/mtrand/mtrand.o.d" failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/setup.py'"'"'; __file__='"'"'/private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-install-xsz0d64y/numpy/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/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-record-4gdqaqpu/install-record.txt --single-version-externally-managed --prefix /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-build-env-a4pz8qjs/overlay --compile --install-headers /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-build-env-a4pz8qjs/overlay/include/python3.9/numpy Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/rd/bpjydqcd0mjg9v3m0gbqxbj40000gn/T/pip-build-env-a4pz8qjs/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'cython >= 0.29' 'numpy==1.14.5; python_version<'"'"'3.7'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"'' setuptools setuptools_scm wheel Check the logs for full command output.

Steps to reproduce

What are the steps we should take to reproduce the bug:

  • Run pip install streamliton macOS Big Sur with Python 3.9 (installed using Homebrew).

Debug info

  • Streamlit version: 0.71.0
  • Python version: 3.9.0
  • Using Conda? PipEnv? PyEnv? Pex? No
  • OS version: macOS Big Sur 11.0
@dalmia dalmia added type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team labels Nov 15, 2020
@dalmia
Copy link
Author

dalmia commented Nov 15, 2020

I understand that this issue is primarily due to pyarrow

@akrolsmir
Copy link
Contributor

Hi @dalmia ,

Thanks for filing an issue! You're correct that this is due to pyarrow -- unfortunately they don't support 3.9 yet. Here's a link of how to work around this for now, if you must use python 3.9: https://discuss.streamlit.io/t/note-installation-issues-with-python-3-9-and-streamlit/6946.

@akrolsmir akrolsmir removed the status:needs-triage Has not been triaged by the Streamlit team label Nov 16, 2020
@tconkling
Copy link
Contributor

tconkling commented Nov 16, 2020

Hey @dalmia - we're hoping to get this resolved quickly (as you note, it's an issue with the pyarrow dependency). In the meantime, are you able to use Python 3.8 or 3.7 instead?

If you're juggling multiple versions of Python on your machine, you may want to check out pyenv (which you can also install via Homebrew). It facilitates that juggling nicely.

@FlxVctr
Copy link

FlxVctr commented Nov 25, 2020

Using Python 3.8 does not solve the problem. Seems to me, pyarrow does not provide a wheel for Mac OS 11 yet.

@jroes
Copy link
Contributor

jroes commented Dec 6, 2020

FWIW, the simplest way I found to workaround this problem is to do the following:

$ brew install anaconda
$ echo "export PATH=/usr/local/anaconda3/bin:$PATH" >> ~/.zshrc
$ source ~/.zshrc
$ pip install streamlit
$ streamlit hello

I'm not super familiar with miniconda and anaconda, but my quick read online leads me to believe that brew install miniconda would work and be a bit more minimalistic.

@akrolsmir akrolsmir reopened this Dec 7, 2020
@nthmost
Copy link
Contributor

nthmost commented Dec 9, 2020

Linked: #2001 #2327

@jroes
Copy link
Contributor

jroes commented Mar 26, 2021

An alternative method that I've gravitated toward more recently is to use VSCode + a Docker image in a completely M1-native setup.

@rapatel0
Copy link

Putting this here as it solved the problem for me. Just need to upgrade pip and it works fine.
python3.9 -m pip install --upgrade pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants