Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named packaging.version #5912

Closed
azraelppuk opened this issue Feb 15, 2017 · 3 comments
Closed

ImportError: No module named packaging.version #5912

azraelppuk opened this issue Feb 15, 2017 · 3 comments

Comments

@azraelppuk
Copy link

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?

@pogarek
Copy link
Contributor

pogarek commented Feb 19, 2017

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

@DeepJeep
Copy link

DeepJeep commented Feb 21, 2017

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. ;)

@pogarek
Copy link
Contributor

pogarek commented Mar 27, 2017

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

@pogarek pogarek closed this as completed Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants