win32api module install Error: Non-zero exit code (1)

Hello, so i got this problem when I try to: import win32api on my Pycharm project.py code. I got this error: Non-zero exit code (1)

I also tried with pypiwin32 and I still got the same error. 

What is strange is when I executed the pip install pypiwin32 command on my CMD the instalation of pypiwin32 worked. But it still doesnt work on Pycharm. Thanks for the help

 

0
1 comment

Please refer to the following: https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240

If it works from CMD, you're probably installing it for the different interpreter. Please make sure you're using the same interpreter/environment as you do in PyCharm and try again from CMD.

0

Please sign in to leave a comment.