Skip to content

Bug: Running mobi-view fails #69

@Asanto32

Description

@Asanto32

Description

Following steps google doc

Steps to Reproduce

mobi-view

Expected Results

mobi-view app should run

Actual Results

Following error in terminal reported

(myenv) adam.santorelli@CMI-RSCH-MBP103 MoBI-View % mobi-view
Traceback (most recent call last):
  File "/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/pylsl/lib/__init__.py", line 133, in <module>
    libpath = next(find_liblsl_libraries())
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/adam.santorelli/MoBI-View/myenv/bin/mobi-view", line 5, in <module>
    from MoBI_View.main import main
  File "/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/MoBI_View/main.py", line 14, in <module>
    from pylsl import resolve_streams
  File "/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/pylsl/__init__.py", line 18, in <module>
    from .resolve import ContinuousResolver as ContinuousResolver
  File "/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/pylsl/resolve.py", line 3, in <module>
    from .lib import lib
  File "/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/pylsl/lib/__init__.py", line 145, in <module>
    raise RuntimeError(err_msg + __dload_msg)
RuntimeError: LSL binary library file was not found. Please make sure that the binary file can be found in the package lib folder
 (/Users/adam.santorelli/MoBI-View/myenv/lib/python3.12/site-packages/pylsl/lib)
 or the system search path. Alternatively, specify the PYLSL_LIB environment variable.
 You can install the LSL library with conda: `conda install -c conda-forge liblsl`
or with homebrew: `brew install labstreaminglayer/tap/lsl`
or otherwise download it from the liblsl releases page assets: https://github.com/sccn/liblsl/releases
On modern MacOS (>= 10.15) it is further necessary to set the DYLD_LIBRARY_PATH environment variable. e.g. `>DYLD_LIBRARY_PATH=/opt/homebrew/lib python path/to/my_lsl_script.py`

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions