![]() |
Pyopendnp3 in windows - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Pyopendnp3 in windows (/thread-8962.html) Pages:
1
2
|
Pyopendnp3 in windows - Anitha - Mar-15-2018 HI , I addeded PyopenDNP3 module in windows, but I am geeting error as below: from pyopendnp3 import * print("hi") Error : import _pyopendnp3 ImportError: No module named _pyopendnp3 ERROR: Module: DNPTest could not be imported (file: E:\Python_HmI\Firmware_Automation\Generic_Functions\DNPTest.py). done. Please help me RE: Pyopendnp3 in windows - Larz60+ - Mar-15-2018 More information needed. where did you find this package? This all looks very strange to me. How did you load? RE: Pyopendnp3 in windows - Anitha - Mar-15-2018 Hi extracted this opendnp3 package in Linux environment thru commands, Same package I copied to Windows and put in Site-Packages folder. then executed the above commands it is giving error as mentioned. RE: Pyopendnp3 in windows - Larz60+ - Mar-15-2018 The opendnp3 package (last updated Dec 18, 2017) is not what is being used here, correct? Linux environment thru commands ... What commands? RE: Pyopendnp3 in windows - Anitha - Mar-16-2018 autoreconf -f -i ./configure --with-python make sudo make install python > import pyopendnp3 this works in linux.. same in windows is needed.. please help me RE: Pyopendnp3 in windows - Larz60+ - Mar-16-2018 This still does not show where the package originated from. I am trying to make sure I am looking at the proper package. RE: Pyopendnp3 in windows - Anitha - Mar-16-2018 I installed thru this path : https://github.com/gec/dnp3 for linux environment. I need for windows RE: Pyopendnp3 in windows - Larz60+ - Mar-16-2018 Ok, That was one of my original questions. Please note that that module hasn't been worked on since 2013, and has never been an official package in PyPi or other repository beyond GitHub. That is not to say that it's not a good and complete package, but I would be weary of something that old, and expect that it might issues with installation. You may have to test module by module to get it to run. RE: Pyopendnp3 in windows - Anitha - Mar-16-2018 How to work with libraries wrapped with Swig in windows platform. Should we need to recompile those or do we need to add any pacakge RE: Pyopendnp3 in windows - Larz60+ - Mar-16-2018 found this: https://stackoverflow.com/questions/11311877/creating-a-dll-from-a-wrapped-cpp-file-with-swig |