Home > Software design >  unable to import pycryptodome in vscode
unable to import pycryptodome in vscode

Time:11-27

Problem described here: The package i want to install is right there, but i can't do it

CodePudding user response:

Sorry, but could you import like this?

from crypto.Util import xxx

CodePudding user response:

I used git bash instead of wsl(ubuntu) and it worked. Must've been something with my wsl and having like 3 different versions of python on my system at once. On wsl the python version as 3.9.5 while on git bash it was 3.9.6(which is what my computer had). Don't know if different versions cause this error, but I'd say just try to use the same version everywhere.

  • Related