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

ImportError: No module named packaging.version

Open azraelppuk opened this issue 9 years ago • 3 comments

Just did a fresh install and now getting following error when running:

Traceback (most recent call last): File "pokecli.py", line 48, in from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException, NoPlayerPositionSetException File "/home/pi/PokemonGo-Bot/PokemonGo-Bot/local/lib/python2.7/site-packages/pgoapi/init.py", line 30, in import pkg_resources File "/home/pi/PokemonGo-Bot/PokemonGo-Bot/local/lib/python2.7/site-packages/pkg_resources/init.py", line 70, in import packaging.version ImportError: No module named packaging.version Wed 15 Feb 23:27:45 GMT 2017 Pokebot Stopped. Press any button or wait 20 seconds to continue.

Any ideas?

azraelppuk avatar Feb 15 '17 23:02 azraelppuk

Reinstall the bot, clean directory. Looks like issue with python libraries.

pogarek avatar Feb 19 '17 09:02 pogarek

Look for errors during install caused by missing permissions, I had the same problems couple of days ago. Did a fresh install running 'sudo setup.sh' afterwards, followed by recursively 'chown'ing everything in the bot directory to the user who is supposed to run the bot.

/Edit: This may be raspberry pi specific, as I suppose the OP is using one. ;)

DeepJeep avatar Feb 21 '17 18:02 DeepJeep

or this might about virtualenv and missing packages. Reopen if this still affects you

pogarek avatar Mar 27 '17 08:03 pogarek