PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

ImportError: No module named socketIO_client

Open rihago opened this issue 10 years ago • 7 comments

Running the latest dev build (also did clean install)

when trying to start i get the following error:

raceback (most recent call last): File "pokecli.py", line 40, in from pokemongo_bot import PokemonGoBot File "/Users/harmhartsuiker/Documents/PokemonGo-Bot/pokemongo_bot/init.py", line 22, in from pokemongo_bot.event_handlers import LoggingHandler File "/Users/harmhartsuiker/Documents/PokemonGo-Bot/pokemongo_bot/event_handlers/init.py", line 2, in from socketio_handler import SocketIoHandler File "/Users/harmhartsuiker/Documents/PokemonGo-Bot/pokemongo_bot/event_handlers/socketio_handler.py", line 2, in from socketIO_client import SocketIO ImportError: No module named socketIO_client

rihago avatar Jul 29 '16 13:07 rihago

run pip install -r requirements.txt

hlavicka avatar Jul 29 '16 13:07 hlavicka

Duplicated #1596

Lunik avatar Jul 29 '16 13:07 Lunik

Same error. When installing requirements.txt i get another error. Error plus the 2 last lines of install:

" building 'markupsafe._speedups' extension error: Den angivne fil blev ikke fundet (Translation: The file was not found)

----------------------------------------

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\magnus\appdata\local\temp\pip-build-wzsjf8\MarkupSafe\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\magnus\appdata\local\temp\pip-mfjgws-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\magnus\appdata\local\temp\pip-build-wzsjf8\MarkupSafe"

ghost avatar Jul 29 '16 14:07 ghost

I'm having the same issue, and the requirements install also fails for me at MarkupSafe

tauntonian avatar Jul 29 '16 15:07 tauntonian

Duplicate of https://github.com/PokemonGoF/PokemonGo-Bot/issues/1596

/closed

AdaptCharm avatar Jul 29 '16 18:07 AdaptCharm

It's not a duplicate if running pip install -r requirements.txt doesn't fix it.

tauntonian avatar Jul 29 '16 19:07 tauntonian

FIX: uninstall python 2.7 and install 2.7.10. Reinstall/install MarkupSafe-0.23-cp27-none-win32 and PyYAML-3.11-cp27-cp27m-win32. That fixed it for me. Thank to @dropthemic

ghost avatar Jul 29 '16 20:07 ghost