Open fxstempfelals opened 7 hours ago
Thanks for the report. Just to confirm, you've installed the wheels from pypi and have not installed from source correct?
At a high level, the issue is that pantab vendors its own copy of the tableauhyperapi C++ library, which may not necessarily be compatable with others installed on the system. When you do import tableauhyperapi
you are loading the copy of the C++ library included with that Python package, and if not instructed otherwise the import pantab
call may think it doesn't need to load its own C++ library version. pantab vendors the C++ tableauhyperapi library version 0.0.20027, which must have introduced the hyper_numeric_from_float
symbol that is missing from 0.0.18825
The wheels we distributed should correct this issue. We use auditwheel for our Unix wheels, which repacks the wheel and prevents conflicts with the system library. For Windows, we use the delvewheel library, which I think works the same, although I'll admit my knowledge of Windows is pretty limited. If you aren't using a wheel that we have distributed, you may need to run one of these libraries locally to resolve the issue
Describe the bug Importing pantab after tableauhyperapi makes the pantab import fail.
To Reproduce Steps to reproduce the behavior:
Expected behavior pantab is imported successfully
Desktop (please complete the following information):
Additional context tableauhyperapi==0.0.18825 pantab==5.1.0
On Unix, the error is:
ImportError: /opt/conda/lib/python3.9/site-packages/pantab/libpantab.cpython-39-x86_64-linux-gnu.so: undefined symbol: hyper_numeric_from_float