vl-convert: vl-convert fails to load
Problem: installed package will not load. Please let me know if you need additional information!
procedure
Installation via terminal
(.venv) peterganong@HPP-GANONG issue_7_viz_lec % pip install vl-convert-python
Collecting vl-convert-python
Using cached vl_convert_python-1.6.0-cp37-abi3-macosx_10_12_x86_64.whl.metadata (5.2 kB)
Using cached vl_convert_python-1.6.0-cp37-abi3-macosx_10_12_x86_64.whl (27.6 MB)
Installing collected packages: vl-convert-python
Successfully installed vl-convert-python-1.6.0
Python interpreter: import vl_convert
output
{
"name": "ImportError",
"message": "dlopen(/Users/peterganong/repo/fall2024/issue_7_viz_lec/.venv/lib/python3.12/site-packages/vl_convert/vl_convert.abi3.so, 0x0002): symbol not found in flat namespace '_PyPyBool_Type'",
"stack": "---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
File /Users/peterganong/repo/fall2024/issue_7_viz_lec/test.qmd:1
----> 1 import vl_convert
File ~/repo/fall2024/issue_7_viz_lec/.venv/lib/python3.12/site-packages/vl_convert/__init__.py:1
----> 1 from .vl_convert import *
3 __doc__ = vl_convert.__doc__
4 if hasattr(vl_convert, \"__all__\"):
ImportError: dlopen(/Users/peterganong/repo/fall2024/issue_7_viz_lec/.venv/lib/python3.12/site-packages/vl_convert/vl_convert.abi3.so, 0x0002): symbol not found in flat namespace '_PyPyBool_Type'"
}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16
The fix works for me – thank you so much!
Yes, 1.70.0 seems to work fine for me: I was able to import it and save a few Altair plots as SVG and PNG. Thank you!
Yes I would be glad to!