victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 409 forks source link

smop command not found even after installation #186

Open TomaOC opened 2 years ago

TomaOC commented 2 years ago

Hi victorlei,

I successfully downloaded and installed (or so I thought) smop, but I am encountering the following issues whenever I try to use it: Any smop etc. command yields -bash: smop: command not found while attempting python main.py file.m from within smop/smop/ yields Traceback (most recent call last): File "main.py", line 15, in <module> from . import options ValueError: Attempted relative import in non-package Trying python3 main.py file.m gives Traceback (most recent call last): File "main.py", line 15, in <module> from . import options ImportError: cannot import name 'options' from '__main__' (main.py)

Any ideas?

Thanks in advance!