mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

where the fuck is win32crypt #2296

Open FutureScrpts opened 1 week ago

FutureScrpts commented 1 week ago

Exception has occurred: ModuleNotFoundError No module named 'win32crypt' File "C:\Users\Adim\Downloads\Test\main.py", line 2, in from win32crypt import CryptUnprotectData ModuleNotFoundError: No module named 'win32crypt'

CristiFati commented 1 week ago

What about importing other modules: win32api, win32file, win32gui,, win32ts, ...?

FutureScrpts commented 1 week ago

every one of the win32... ones it says ModuleNotfoundError

CristiFati commented 1 week ago

Could it be that PyWin32 installation is corrupted (or maybe it's not even installed) for the Python instance you're using? [SO]: How to update pywin32 automatically? (@CristiFati's answer) [SO]: PyCharm doesn't recognize installed module (@CristiFati's answer)

FutureScrpts commented 6 days ago

i have reinstalled python more than 3 times to fix it and reinstalled this module manually even, no luck.

CristiFati commented 6 days ago

Are you sure you're launching the Python instance that you think you are?