0

I try to use snap7 (to read from a S7-1200) python 3.8 on Anaconda for Windows 10 .I have followed many suggestions on this issue. However, I cannot solve this problem.

import snap7

plc = snap7.client.Client()

Snap7Exception: can't find snap7 library. If installed, try running ldconfig

If you have any suggestion for this problem i'd appreaciate all the help.

Fresco
  • 253
  • 1
  • 5
  • 16
titis
  • 1
  • 2

1 Answers1

0

Have you installed the snap7 library using conda?

conda install python-snap7

If you are using conda as your package installer then using the above command will be the way to go. Reference the snap7 library on https://pypi.org/project/python-snap7/

Torch
  • 51
  • 1
  • 9