[Win10] ImportError: DLL load failed: %1 is not a valid Win32 application
I am trying to run theZoo in Windows 10/Python 2.7.14, but I always got this error:
C:\theZoo>python theZoo.py Traceback (most recent call last): File "theZoo.py", line 28, in
from imports.terminal_handler import Controller File "C:\theZoo\imports\terminal_handler.py", line 7, in from imports import winreadline as readline File "C:\theZoo\imports\winreadline.py", line 31, in import sys, os, msvcrt, _rlsetup ImportError: DLL load failed: %1 is not a valid Win32 application.
Hey @pmeirelesf .This seems more like a Windows&Python issue. Have a lookhere. If this does not solve it for you, load a Python console and post the output of this here:
import msvcrt print msvcrt.__version__
You need to pip install pyreadline .