PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.85k stars 1.54k forks source link

ImportError: No module named socketIO_client #1631

Closed rihago closed 7 years ago

rihago commented 7 years ago

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

hlavicka commented 7 years ago

run pip install -r requirements.txt

Lunik commented 7 years ago

Duplicated #1596

ghost commented 7 years ago

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\"

tauntonian commented 7 years ago

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

AdaptCharm commented 7 years ago

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

/closed

tauntonian commented 7 years ago

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

ghost commented 7 years ago

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