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

pip install fails on m1 mac, python 3.8.12 #335

Closed
sa- opened this issue Feb 2, 2022 · 9 comments
Closed

pip install fails on m1 mac, python 3.8.12 #335

sa- opened this issue Feb 2, 2022 · 9 comments

Comments

@sa-
Copy link

sa- commented Feb 2, 2022

Hello,

I'm using an m1 macbook pro and I'm running python 3.8.12. Running pip install turbodbc gives me this output

Collecting turbodbc
  Using cached turbodbc-4.3.0.tar.gz (81 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pybind11>=2.2.0 in ./.venv/lib/python3.8/site-packages (from turbodbc) (2.9.0)
Building wheels for collected packages: turbodbc
  Building wheel for turbodbc (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      running bdist_wheel
      running build
      running build_py
      running egg_info
      writing turbodbc.egg-info/PKG-INFO
      writing dependency_links to turbodbc.egg-info/dependency_links.txt
      writing requirements to turbodbc.egg-info/requires.txt
      writing top-level names to turbodbc.egg-info/top_level.txt
      reading manifest file 'turbodbc.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      running build_ext
      building 'libturbodbc' extension
      In file included from src/cpp_odbc/column_description.cpp:1:
      include/cpp_odbc/column_description.h:6:10: fatal error: 'sqltypes.h' file not found
      #include "sqltypes.h"
               ^~~~~~~~~~~~
      1 error generated.
      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 turbodbc
  Running setup.py clean for turbodbc
Failed to build turbodbc
Installing collected packages: turbodbc
  Running setup.py install for turbodbc ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for turbodbc did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      running install
      /Users/sa/code/solytic-py-etl/.venv/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      running egg_info
      writing turbodbc.egg-info/PKG-INFO
      writing dependency_links to turbodbc.egg-info/dependency_links.txt
      writing requirements to turbodbc.egg-info/requires.txt
      writing top-level names to turbodbc.egg-info/top_level.txt
      reading manifest file 'turbodbc.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      running build_ext
      building 'libturbodbc' extension
      In file included from src/cpp_odbc/column_description.cpp:1:
      include/cpp_odbc/column_description.h:6:10: fatal error: 'sqltypes.h' file not found
      #include "sqltypes.h"
               ^~~~~~~~~~~~
      1 error generated.
      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: legacy-install-failure

× Encountered error while trying to install package.
╰─> turbodbc

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@xhochy
Copy link
Collaborator

xhochy commented Feb 4, 2022

You need to install unixodbc via homebrew first.

@xhochy xhochy closed this as completed Feb 4, 2022
@sa-
Copy link
Author

sa- commented Feb 6, 2022

I actually have unixodbc installed via homebrew. Could you reopen this issue please?

@xhochy xhochy reopened this Feb 6, 2022
@xhochy
Copy link
Collaborator

xhochy commented Feb 6, 2022

Please set UNIXODBC_INCLUDE_DIR to the directory that contains these files.

@fmarchenko
Copy link

fmarchenko commented Feb 9, 2022

Hello! I have the same problem on m1 pro and Python 3.8.9. I run the install command with UNIXODBC_INCLUDE_DIR boost installed via brew
Running UNIXODBC_INCLUDE_DIR=/opt/homebrew/Cellar/unixodbc/2.3.9_1/include pip install turbodbc

Collecting turbodbc
  Using cached turbodbc-4.3.0.tar.gz (81 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: pybind11>=2.2.0 in ./.venv/lib/python3.8/site-packages (from turbodbc) (2.9.1)
Using legacy 'setup.py install' for turbodbc, since package 'wheel' is not installed.
Installing collected packages: turbodbc
  Running setup.py install for turbodbc: started
  Running setup.py install for turbodbc: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Running setup.py install for turbodbc did not run successfully.
  │ exit code: 1
  ╰─> [56 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.14.6-arm64-3.8
      creating build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/options.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/connect.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/__init__.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/data_types.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/api_constants.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/connection.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/exceptions.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/constructors.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      copying turbodbc/cursor.py -> build/lib.macosx-10.14.6-arm64-3.8/turbodbc
      running egg_info
      writing turbodbc.egg-info/PKG-INFO
      writing dependency_links to turbodbc.egg-info/dependency_links.txt
      writing requirements to turbodbc.egg-info/requires.txt
      writing top-level names to turbodbc.egg-info/top_level.txt
      reading manifest file 'turbodbc.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'turbodbc.egg-info/SOURCES.txt'
      running build_ext
      building 'libturbodbc' extension
      creating build/temp.macosx-10.14.6-arm64-3.8
      creating build/temp.macosx-10.14.6-arm64-3.8/src
      creating build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc
      creating build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level3
      creating build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level2
      creating build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level1
      creating build/temp.macosx-10.14.6-arm64-3.8/src/turbodbc
      creating build/temp.macosx-10.14.6-arm64-3.8/src/turbodbc/descriptions
      creating build/temp.macosx-10.14.6-arm64-3.8/src/turbodbc/result_sets
      creating build/temp.macosx-10.14.6-arm64-3.8/src/turbodbc/parameter_sets
      creating build/temp.macosx-10.14.6-arm64-3.8/src/turbodbc/field_translators
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/environment.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/environment.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/error.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/error.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/statement.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/statement.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/cpp_odbc.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/cpp_odbc.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/column_description.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/column_description.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/make_environment.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/make_environment.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/multi_value_buffer.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/multi_value_buffer.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/connection.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/connection.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level3/raii_connection.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level3/raii_connection.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level3/raii_statement.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level3/raii_statement.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level3/level3.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level3/level3.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level3/raii_environment.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level3/raii_environment.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level2/api.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level2/api.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level2/u16string_buffer.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level2/u16string_buffer.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude/ -I/Users/marchenko/projects/personal-recommendations/.venv/lib/python3.8/site-packages/pybind11/include -I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include -I/Users/marchenko/projects/personal-recommendations/.venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/cpp_odbc/level2/level1_connector.cpp -o build/temp.macosx-10.14.6-arm64-3.8/src/cpp_odbc/level2/level1_connector.o --std=c++11 --stdlib=libc++ -mmacosx-version-min=10.9
      src/cpp_odbc/level2/level1_connector.cpp:17:10: fatal error: 'boost/locale.hpp' file not found
      #include <boost/locale.hpp>
               ^~~~~~~~~~~~~~~~~~
      1 error generated.
      error: command 'clang' failed with exit status 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> turbodbc

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@xhochy
Copy link
Collaborator

xhochy commented Feb 14, 2022

You will also need to install boost, please have a look at the docs.

@sa-
Copy link
Author

sa- commented Feb 14, 2022

I also have boost installed

@fmarchenko
Copy link

And I have boost installed too

@braddv
Copy link

braddv commented Apr 8, 2022

@sa- @fmarchenko I got past the boost 'boost/locale.hpp' file not found by adding

export LDFLAGS="-L/opt/homebrew/Cellar/unixodbc/2.3.9_1/lib"
export CPPFLAGS="-I/opt/homebrew/Cellar/unixodbc/2.3.9_1/include". 
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib

into my bash

but now I still get

Building wheels for collected packages: turbodbc
  Building wheel for turbodbc (setup.py): started
  Building wheel for turbodbc (setup.py): finished with status 'error'
  Running setup.py clean for turbodbc
Failed to build turbodbc

with no additional information. Has anyone solved this issue?

@sa-
Copy link
Author

sa- commented Apr 8, 2022

I don't have a use case for odbc anymore, but I know the arrow2 crate just added support for odbc if that's interesting to you @braddv

@sa- sa- closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants