-
Notifications
You must be signed in to change notification settings - Fork 17
Description
in app.py I import the xbbg library
but get the following error
Can you help me?
Remark: the app is working fine by running streamlit run
Traceback (most recent call last):
File "run_app.py", line 5, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "xbbg\blp.py", line 9, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "xbbg\core\conn.py", line 16, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "blpapi_init.py", line 9, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "blpapi\internals.py", line 106, in
File "blpapi\internals.py", line 103, in _loadLibrary
UnboundLocalError: cannot access local variable 'toPy' where it is not associated with a value
[PYI-9996:ERROR] Failed to execute script 'run_app' due to unhandled exception!