Re: [python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

2020-09-08 Thread Shaik Saleem Basha
Thank you for your response I will to that . But my issue is not only with Quickopc , I have installed OpenOPC in that also I’m getting same errorMy code:import OpenOPCopc = OpenOPC.client()  Output Error:Traceback (most recent call last):  File

Re: [python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

2020-09-08 Thread Shaik Saleem Basha
When I downloaded install python by default it installed 32bit version only so pywin32 also I installed 32bit only Quicopc library is installed On Tue, 8 Sep 2020, 22:15 Tim Roberts, wrote: > Shaik Saleem Basha wrote: > > > > Hi, > > > > I’m using python 3.8.5 32 bit and also I have

Re: [python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

2020-09-08 Thread Tim Roberts
Shaik Saleem Basha wrote: When I downloaded  install python  by default  it installed  32bit version only so pywin32 also I installed 32bit only Quicopc library is installed If QuickOPC is a 64-bit component, then you need to call it from a 64-bit process.  This is not always an easy thing

Re: [python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

2020-09-08 Thread Tim Roberts
Shaik Saleem Basha wrote: Hi, I’m using python 3.8.5 32 bit  and also I have installed pywin32 by this command pip install pywin32 but when I execute my coed i’m getting the following error pywintypes.com_error: (-2147221005, 'Invalid class string', None, None) My code : import 

[python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

2020-09-08 Thread Shaik Saleem Basha
Hi,I’m using python 3.8.5 32 bit  and also I have installed pywin32 by this command pip install pywin32 but when I execute my coed i’m getting the following error pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)  My code :import win32com.clientclient =