victorlei / smop

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

error with examples #162

Open lonnietc opened 4 years ago

lonnietc commented 4 years ago

Hello,

I am trying to convert some matlab code over to python3 and just found your smop.

I could not get Python2.7 to work on the install, but it seems that my Python3 installed everything good.

In any case, I just tried your example but get an error:

smop-master/smop$ python3 main.py fastsolver.m Traceback (most recent call last): File "main.py", line 15, in from . import options ImportError: cannot import name 'options' from 'main' (main.py)

Any ideas on how to fix this?

I get the same error if I try the other default matlab examples as well. Thanks

Aceticia commented 4 years ago

This was discussed in a previous issue: https://github.com/victorlei/smop/issues/123#issue-327498414.