Retrieving mworks events in a linux python environment

Hi Chris,

I am trying to use mworks code to get events from .mwk2 files.
I found this page about analysis requiring the following line to be add to interface with mworks code:

import sys
sys.path.insert(0, '/Library/Application Support/MWorks/Scripting/Python')

However I’m trying to work in our cluster linux environment where this path probably doesn’t apply? Also I couldn’t find instructions on how to install mworks in this environment.
I also cloned the github repo and found the following path to possibly be similar to the above. Added to sys as follows:

sys.path.insert(0, '/home/guyga/projects/mworks/tools/python/Modules')

But this doesn’t actually work:
image

Please advise.

Thanks,
Guy

Hi Guy,

MWorks’ standard data tools don’t run on non-Apple platforms. However, there is an alternative, pure-Python MWK2 reader that you can use. For more info, please see this discussion.

Cheers,
Chris

1 Like