Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Can´t import modules

More
05 Sep 2024 12:04 #13130 by support
Replied by support on topic Can´t import modules
I wonder if you were able to proceed then?

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 09:26 #13110 by support
Replied by support on topic Can´t import modules
Oh, I think I see what is happening. The Python IDE is not capable of recognizing the dynamically imported namespaces (due to the fact that QuickOPC is based on Python.NET).

Just ignore the red squiggles and proceed to the next step. It should work normally.

Regards

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:50 #13109 by htimo96
Replied by htimo96 on topic Can´t import modules
see attachment
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:47 #13108 by support
Replied by support on topic Can´t import modules
Thank you.

Isn't there more information besides the read squiggles? E.g. when you click the red light bulb, or in the upper part of the editor window?

Regards

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:22 #13107 by htimo96
Replied by htimo96 on topic Can´t import modules

yes. It is listed.
The first command (import opclabs_quickopc) is working.

but it is not possible to import "from OpcLabs.EasyOpc.UA import *"

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:19 #13106 by htimo96
Replied by htimo96 on topic Can´t import modules

yes. It is listed.
The first command (import opclabs_quickopc) is working.

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:18 #13105 by htimo96
Replied by htimo96 on topic Can´t import modules
yes. It is listed.
The first command (from OpcLabs.EasyOpc.UA import *) is working.
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:15 #13104 by support
Replied by support on topic Can´t import modules
Hello.

Are you sure that you have done Step 4? ("pip install opclabs_quickopc")

Can you please verify the success of this step by issuing following command in the Terminal window:
pip list

Is there the opclabs-quickopc package listed?

Thank you

Please Log in or Create an account to join the conversation.

More
04 Sep 2024 08:02 #13103 by htimo96
I want to try the QuickOPC solution in Python.
I have set up Pycharm according to the getting started. Unfortunately, I cannot import the OpcLabs.EasyOpc.UA module.


( opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...-Server%20using%20PyCharm.html)
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.063 seconds