PokemonGo-Bot: [dev] bot crashes on startup
Expected Behavior
Bot to run
Actual Behavior
Crashing on startup (after latest sync)
The following error happens when doing “pip install -r requirements.txt”
building 'markupsafe._speedups' extension
error: [Error 2] The system cannot find the file specified
And the following error happens when trying to actually run the bot
ImportError: No module named socketIO_client
Steps to Reproduce
Whenever I run the dev bot following recent sync.
Other Information
OS: Windows Git Commit: be9e7bb79de33a7d177014184c510b2c60513be8
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (2 by maintainers)
Commits related to this issue
- Add Remove option to Pokemon label to allow hiding captured pokemon. Issue#1607 (#1653) — committed to hoanghuynh/PokemonGo-Bot by narayanjr 8 years ago
- Bump to setuptools==21.2.1 to see if that solves: ``` Failed building wheel for MarkupSafe ``` errors in TeamCity builds. as it seems to have helped with https://github.com/PokemonGoF/PokemonGo-Bo... — committed to msabramo/dcos-cli by msabramo 7 years ago
Same here…
Fixed by installing :
pip install setuptools==21.2.1
^Workaround works fine and can now use the dev bot again
Happy with this at the moment but would be nice to have it fixed in the repo so that people don’t have to workaround.
For clarification, to fix the problem, do the following:
pip install setuptools==23.2.1
pip install --no-cache-dir markupsafe==0.23
And @iggut you need to download
PyYAML-3.11-cp27-cp27m-win32.whl
from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyyaml, put it in your PokemonGo-bot folder and dopip install PyYAML-3.11-cp27-cp27m-win32.whl
.Should fix your problem before you use the fix from @Viper896 😃
FYI workaround to install markupsafe on windows can be found here:
https://github.com/pallets/markupsafe/issues/60