-2
Can anyone tell me that the library "comtypes.client" is only from Windows? If yes, please tell me some similar library(That serves the same thing) pro Linux(Ubuntu) thanks.
-2
Can anyone tell me that the library "comtypes.client" is only from Windows? If yes, please tell me some similar library(That serves the same thing) pro Linux(Ubuntu) thanks.
0
That library comtypes
is a lightweight package for access to COM in python, allowing you to create and register or access COM interfaces in your script.
WITH IT MEANS Component Object Model, and is a microsoft platform for software components launched in 1993.
Its use is to allow communication between Windows processes and the dynamic creation of objects in any programming language that supports technology. Their use doesn’t make any sense on linux, since there are no COM objects on linux. So this library doesn’t work on linux, and there is no other library for COM access that works, because these objects don’t exist on linux.
In linux distributions other technologies are used for communication between processes, such as Dbus.
It would be nice if you passed on to us what you wanted to do with this library, so we can recommend an alternative way of doing.
First thank you for your attention and education. I am creating a virtual assistant in python (for a project of my school) and my intention was that there would be interaction with the machine, the library that I wanted the Library to transcribe text in speech, but that works in Ubuntu.
In Ubuntu you have Espeak, very simple to use: sudo apt install espeak
and then in python, create a variable frase
with what you want to talk and call subprocess.call(['espeak', '-v', 'pt', frase.encode('utf-8')])
. If you have any questions, I suggest you open a new question.
I believe my answer answers your question @kingarthur , if you think that is the case, I suggest you mark it as accepted to close the question.
Browser other questions tagged python library
You are not signed in. Login or sign up in order to post.
To documentation of hers already says: It Works on Windows, 64-bit Windows, and Windows CE. To say a similar, we need to know what it does, or what it’s using from the library.
– Woss
Yes, only windows. As it says on documentation it is based on the module ctypes then maybe this is the one you seek.
– fernandosavio
as far as I could read in https://github.com/enthought/comtypes/issues/157, an updated version already installs on Linux without problems
– tetri
thank you very much!
– kingarthur
@Installation, installation, but not working
– nosklo