Python安装OpenOPC

OPC是一个工业数据读写标准,用户开发OPC客户端,进行连接OPC服务器,访问开放的数据接口,进行读写数据。
下面我们进行python3 连接 opc

windows平台:

以管理员身份运行cmd
【python openopc】python3安装OpenOPC教程
在以管理员身份运行的cmd窗口中输入命令 pip install OpenOPC-Python3x ,回车即可安装OpenOPC模块成功,如下图所示。

【python openopc】python3安装OpenOPC教程

安装成功后就可以使用import OpenOPC命令导入模块,如下图所示。

【python openopc】python3安装OpenOPC教程

linux 平台:
linux 平台直接用 pip install OpenOPC-Python3x
命令即可。
【python openopc】python3安装OpenOPC教程
成功!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-13
  • 2021-07-07
  • 2021-09-30
  • 2021-09-21
  • 2021-09-20
猜你喜欢
  • 2021-07-07
  • 2021-09-27
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案