streamlit / streamlit

Streamlit — A faster way to build and share data apps.
https://streamlit.io
Apache License 2.0
35.33k stars 3.07k forks source link

'make all-devel' failed on mac #4928

Closed SeekPoint closed 2 years ago

SeekPoint commented 2 years ago

Building wheels for collected packages: cx-Oracle, mysqlclient Building wheel for cx-Oracle (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [12 lines of output] running bdist_wheel running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.macosx-12-x86_64-cpython-38 creating build/temp.macosx-12-x86_64-cpython-38/odpi creating build/temp.macosx-12-x86_64-cpython-38/odpi/src creating build/temp.macosx-12-x86_64-cpython-38/src clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DCXO_BUILD_VERSION=7.3.0 -Iodpi/include -Iodpi/src -I/Users/yuanke/.local/share/virtualenvs/lib--z0dkhkC/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c odpi/src/dpiConn.c -o build/temp.macosx-12-x86_64-cpython-38/odpi/src/dpiConn.o clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=12' error: command '/usr/bin/clang' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cx-Oracle Running setup.py clean for cx-Oracle Building wheel for mysqlclient (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [43 lines of output] mysql_config --version ['8.0.29'] mysql_config --libs ['-L/usr/local/Cellar/mysql/8.0.29/lib', '-lmysqlclient', '-lz', '-L/usr/local/lib', '-lzstd', '-L/usr/local/opt/openssl@1.1/lib', '-lssl', '-lcrypto', '-lresolv'] mysql_config --cflags ['-I/usr/local/Cellar/mysql/8.0.29/include/mysql'] ext_options: library_dirs: ['/usr/local/Cellar/mysql/8.0.29/lib', '/usr/local/lib', '/usr/local/opt/openssl@1.1/lib'] libraries: ['mysqlclient', 'resolv'] extra_compile_args: ['-std=c99'] extra_link_args: [] include_dirs: ['/usr/local/Cellar/mysql/8.0.29/include/mysql'] extra_objects: [] define_macros: [('version_info', "(2,1,1,'final',0)"), ('version', '2.1.1')] running bdist_wheel running build running build_py creating build creating build/lib.macosx-12-x86_64-cpython-38 creating build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/init.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/_exceptions.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/connections.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/converters.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/cursors.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/release.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb copying MySQLdb/times.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb creating build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/init.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/CR.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/ER.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants copying MySQLdb/constants/FLAG.py -> build/lib.macosx-12-x86_64-cpython-38/MySQLdb/constants warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building 'MySQLdb._mysql' extension
  creating build/temp.macosx-12-x86_64-cpython-38
  creating build/temp.macosx-12-x86_64-cpython-38/MySQLdb
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Dversion_info=(2,1,1,'final',0) -D__version__=2.1.1 -I/usr/local/Cellar/mysql/8.0.29/include/mysql -I/Users/yuanke/.local/share/virtualenvs/lib--z0dkhkC/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c MySQLdb/_mysql.c -o build/temp.macosx-12-x86_64-cpython-38/MySQLdb/_mysql.o -std=c99
  clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=12'
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mysqlclient Running setup.py clean for mysqlclient Failed to build cx-Oracle mysqlclient Installing collected packages: PyYAML, bokeh, retrying, tenacity, plotly, chart-studio, cx-Oracle, graphviz, kiwisolver, cycler, fonttools, matplotlib, mysqlclient, opencv-python, psycopg2-binary, pydot, pyodbc, scipy, seaborn, setuptools, greenlet, sqlalchemy, watchdog ^CERROR: Operation cancelled by user make: *** [py-test-install] Error 1

(lib) ~/streamlit %

willhuang1997 commented 2 years ago

Hi @loveJasmine , have you tried running make min-devel ? What system are you on?

vdonato commented 2 years ago

Closing due to inactivity