I am new to Python and am trying it for an automation project of mine. I am trying to use a 64-bit python (version 3.5.3) on windows 10 (64-bit). I have copied the .dll and .lib files of snap7 for win 64-bit into my Python Path which is added to my system path.I have downloaded the python-snap7 wrapper version 0.8
But despite all this, I am getting an import error: No module named snap7.
I did follow all that was said in the link below too. But nothing seems to work.
python snap7 windows - can't find snap7 library
Any help would be appreciated.
Edit: When I tried installing snap7 using pip..I got this error
>>> python -m pip install python-snap7
File "<stdin>", line 1
python -m pip install python-snap7
^
SyntaxError: invalid syntax
>>>
Traceback:
Traceback (most recent call last):
File "C:\Users\Vrinda\Desktop\1.py", line 1, in <module>
import snap7
ImportError: No module named 'snap7'
Solution: I had to install it from Command window..not python interpreter