-
Notifications
You must be signed in to change notification settings - Fork 20
symbol not found in flat namespace #216
Copy link
Copy link
Open
Description
On a MacOS: 15.6.1
#!/bin/sh
rm -rf venv
python3.12 -m venv venv
./venv/bin/pip install mypy jpy
source venv/bin/activate
pythonThen run:
import jpyThis results in:
chip@Chips-MacBook-Pro py-typehints % source venv/bin/activate
((venv) ) chip@Chips-MacBook-Pro py-typehints % python
Python 3.12.11 (main, Jun 3 2025, 15:41:47) [Clang 17.0.0 (clang-1700.0.13.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/chip/TEMP/DELETE_ME/py-typehints/venv/lib/python3.12/site-packages/jpy.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_JNI_CreateJavaVM'
((venv) ) chip@Chips-MacBook-Pro py-typehints % pip list | grep jpy
jpy 1.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels