Skip to content

run with python2#22

Open
Dazul wants to merge 1 commit intoFreeOpcUa:masterfrom
Dazul:master
Open

run with python2#22
Dazul wants to merge 1 commit intoFreeOpcUa:masterfrom
Dazul:master

Conversation

@Dazul
Copy link
Copy Markdown

@Dazul Dazul commented Jul 9, 2017

I got errors on your code like:
Traceback (most recent call last):
File "app.py", line 1, in
from uaclient.mainwindow import main
File "/home/luis/git/opcua-client-gui/uaclient/mainwindow.py", line 16, in
from uaclient.uaclient import UaClient
ImportError: No module named uaclient

I fixed it by removing the first "uaclient" on the imports, because the import come from the same package.

@oroulet
Copy link
Copy Markdown
Member

oroulet commented Jul 9, 2017

Thanks. Need to check that this works for python 2 and 3 , and in repository. Or did you check already?

@Dazul
Copy link
Copy Markdown
Author

Dazul commented Jul 10, 2017

I only check with python 2.

@oroulet
Copy link
Copy Markdown
Member

oroulet commented Jul 10, 2017 via email

@Dazul
Copy link
Copy Markdown
Author

Dazul commented Jul 10, 2017

Yep the client launches after the modification with python 2.

@oroulet oroulet changed the title Fix bug of module uaclient not found. run with python2 Jun 21, 2018
@1ros0
Copy link
Copy Markdown

1ros0 commented Jan 4, 2021

any updates on this? the latest revision exits with this error for python 2.7.17 and python 3.6.9

@oroulet
Copy link
Copy Markdown
Member

oroulet commented Jan 4, 2021

hte applicatino runs fine. you probably have several python versions installed and installed for the wrong version

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

Successfully merging this pull request may close these issues.

3 participants