snap7

python snap7 windows - can't find snap7 library

浪尽此生 提交于 2019-12-11 13:52:35
问题 i try to install snap7 (to read from a S7-1200) with it's python-snap7 0.4 wrapper but i get always a traceback with the following simple code. from time import sleep import snap7 from snap7.util import * import struct plc = snap7.client.Client() Traceback: >>> Traceback (most recent call last): File "Y:\Lonnox\Projekte\Bibliothek\Python und SPS\S7-1200 Test.py", line 6, in <module> plc = snap7.client.Client() File "C:\Python34\lib\site-packages\snap7\client.py", line 30, in __init__ self

can't find snap7 library - linux

和自甴很熟 提交于 2019-12-10 10:47:12
问题 I'm running Rapbian on a Raspberry Pi Revision B. I downloaded the module python-snap7 as instructed on this webpage: Snap7 Installation I tried it twice: One time using pip and another doing it manually. However, I installed it then via setup.py build and then setup.py install . If i try to create a client, I get the following error: Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import snap7 >>>

can't find snap7 library - linux

◇◆丶佛笑我妖孽 提交于 2019-12-06 04:52:10
I'm running Rapbian on a Raspberry Pi Revision B. I downloaded the module python-snap7 as instructed on this webpage: Snap7 Installation I tried it twice: One time using pip and another doing it manually. However, I installed it then via setup.py build and then setup.py install . If i try to create a client, I get the following error: Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import snap7 >>> c = snap7.client.Client() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "