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

No module named version #111

Closed
retsyo opened this issue Jun 26, 2017 · 15 comments
Closed

No module named version #111

retsyo opened this issue Jun 26, 2017 · 15 comments

Comments

@retsyo
Copy link

retsyo commented Jun 26, 2017

File "e:\prg\py\pure_pylib_bridge\SmallMatlabtoPythoncompiler\smop\options.py
", line 4, in
from version import version
ImportError: No module named version

@ackdav
Copy link

ackdav commented Jul 28, 2017

@ria-kedia
Copy link

no.

@ackdav
Copy link

ackdav commented Nov 21, 2017

that's great to hear! maybe some explanation would be helpful.

@a-minP
Copy link

a-minP commented Jan 12, 2018

has anyone been able to solve this?

@funasoul
Copy link

funasoul commented Jan 24, 2018

Maybe you have not installed SMOP by easy_install nor python setup.py install?
Due to L9 of setup.py, setup.py will automatically generate version.py for you.
If this is the case, you can create version.py which includes following line in it:

__version__="0.34"

Although this will solve this issue, you will be faced with issue #110 ...

@marcusjohnson1
Copy link

Py 3 doesn't come with version installed. You have to download the module.

@victorlei
Copy link
Owner

I think I fixed it. Anybody volunteers to reproduce?

@victorlei
Copy link
Owner

Fixed in 0.40

@RobBW
Copy link

RobBW commented Jun 13, 2018 via email

@victorlei
Copy link
Owner

victorlei commented Jun 13, 2018 via email

@victorlei
Copy link
Owner

victorlei commented Jun 13, 2018 via email

@RobBW
Copy link

RobBW commented Jul 25, 2018

Just noticed your note on Jun13. Did not see it until now, apologies

@sliu729
Copy link

sliu729 commented Aug 20, 2018

It works for me by using:
from smop.libsmop import *

However, when I tried to convert matlab functions e.g pchip, it directly converts it as pchip, which seems not there...

@avvaruvenkatsai
Copy link

Hi Everyone,
I can succesfully translated matlab file to python file. when i'm running translated matlab file, its showing 'module not found error'.

Traceback (most recent call last):
File "adnet_train.py", line 2, in
from smop.libsmop import *
File "/home/venchi/anaconda3/lib/python3.6/site-packages/smop-0.41-py3.6.egg/smop/libsmop.py", line 6, in
ModuleNotFoundError: No module named 'builtin'

what does it mean? and how can i solve this issue.

Thanks in advance.

@RobBW
Copy link

RobBW commented Sep 5, 2018 via email

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

10 participants