Problem installing Python packages (ImportError)

Hi,

I am “hitting a wall” with the following ImportError when trying to use pip install <module_name>.


File “c:\program files (x86)\python38-32\lib\socket.py”, line 49, in
import _socket
ImportError: DLL load failed while importing _socket: %1 is not a valid Win32 application.

(Un- and Re-) installing of Python seem not to help.

Please, help.

Which Windows version are you working with and which Python version did you install?

Might you have mixed 32bit and 64bit?