<div dir="auto">When I downloaded  install python  by default  it installed  32bit version only so pywin32 also I installed 32bit only  <div dir="auto">Quicopc library is installed </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 8 Sep 2020, 22:15 Tim Roberts, <<a href="mailto:timr@probo.com">timr@probo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Shaik Saleem Basha wrote:<br>
><br>
> Hi,<br>
><br>
> I’m using python 3.8.5 32 bit  and also I have installed pywin32 by <br>
> this command pip install pywin32 but when I execute my coed i’m <br>
> getting the following error pywintypes.com_error: (-2147221005, <br>
> 'Invalid class string', None, None)<br>
><br>
> My code :<br>
><br>
> import win32com.client<br>
><br>
> client = win32com.client.Dispatch('OpcLabs.EasyOpc.DataAccess.EasyDAClient')<br>
><br>
> value = client.ReadItemValue('','OPCLabs.KitServer.2', 'Demo.Single')<br>
><br>
> print('value:',value)<br>
><br>
The most obvious question, of course, is do you actually have the <br>
QuickOPC .NET library installed?<br>
<br>
Why did you choose the 32-bit Python, instead of the 64-bit Python?<br>
<br>
-- <br>
Tim Roberts, <a href="mailto:timr@probo.com" target="_blank" rel="noreferrer">timr@probo.com</a><br>
Providenza & Boekelheide, Inc.<br>
<br>
<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank" rel="noreferrer">python-win32@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-win32" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-win32</a><br>
</blockquote></div>