EricssonResearch / calvin-base

Calvin is an application environment that lets things talk to things, among other things.
Apache License 2.0
282 stars 91 forks source link

On Windows: ImportError: No module named win32api #93

Closed remitassing closed 5 years ago

remitassing commented 6 years ago

While running the example ui_in_gui I got this error

import win32api
ImportError: No module named win32api

It seems the dependency pypiwin32 is needed on Windows and it has to be installed as administrator even if a virtual environment is being used (dll involved.

olaan commented 6 years ago

Could you provide some more details on this? Where is the win32api dependency? A copy of the log would be great.

Cheers,

// Ola

ghost commented 6 years ago

how to resolve this Error :: ImportError: No module named win32api

remitassing commented 6 years ago

@krishna664 try pip install pypiwin32 instead and make sure you have administrative rights on the CLI you're running it from

HaraldGustafsson commented 6 years ago

I don't use Windows but the maintainer of pypiwin32 had the releases at the below link. You could try and see if it works.

https://github.com/mhammond/pywin32/releases

On Tue, 13 Mar 2018, 14:58 Remi Tassing, notifications@github.com wrote:

@krishna664 https://github.com/krishna664 try pip install pypiwin32 instead and make sure you have administrative rights on the CLI you're running it from

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EricssonResearch/calvin-base/issues/93#issuecomment-372674078, or mute the thread https://github.com/notifications/unsubscribe-auth/ADKqXdpiGerQasFhbc79UEYA1WszVXKSks5td9BpgaJpZM4Rs4Gn .

Aashima-Gupta commented 5 years ago

Hi, I am working on windows with python 2.7.x and i have already installed pypiwin32 showing requirement already satisfied on the command Line , how ever the python script shows error saying No module named win32api when i import winspeech for text to speech

olaan commented 5 years ago

If the suggestions already provided does not solve your problem, then have a look at stackoverflow, where this question has been asked and answered multiple times, or use the link given above, which leads to the official forum for the package in question.

I am closing this issue since it is attracting a lot of traffic unrelated to Calvin.