Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEED HELP !! nothing created for running the main #175

Open
andy8456 opened this issue Aug 27, 2021 · 1 comment
Open

NEED HELP !! nothing created for running the main #175

andy8456 opened this issue Aug 27, 2021 · 1 comment

Comments

@andy8456
Copy link

NEED HELP

python 3.9
smop 0.41

I am trying the example to transfer the .m into .py
but nothing created after some steps

download smop file on github
cd .....\Downloads\smop-master\smop
extract the file
python setup.py install --user
cd smop

I changed the

from . import options
from . import parse
from . import resolve
from . import backend
from . import version

to

from smop import options
from smop import parse
from smop import resolve
from smop import backend
from smop import version

otherwise cannot run the file

python main.py solver.m
show nothing on it. (run success but nothing here)

NO solver.py is created

Anything wrong here ? Please help...

@GBR-613
Copy link

GBR-613 commented Nov 21, 2021

@andy8456 If running from sources, go to the project root and run run.py

@victorlei I would like to suggest adding the starting section in smop/main/py to prevent a confusion here:

if __name__ == "__main__":
    main()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants