Skip to content

Instantly share code, notes, and snippets.

@smkelly
Created July 16, 2014 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smkelly/db08db78d2d1315c5666 to your computer and use it in GitHub Desktop.
Save smkelly/db08db78d2d1315c5666 to your computer and use it in GitHub Desktop.
[smkelly@mongo-1 ~]$ uname -a
FreeBSD mongo-1.hou.flightaware.com 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[smkelly@mongo-1 ~]$ pkg info|grep salt
py27-salt-2014.1.7 Distributed remote execution and configuration management system
[smkelly@mongo-1 ~]$ salt
Traceback (most recent call last):
File "/usr/local/bin/salt", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2876, in <module>
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 449, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: salt==2014.1.7
@wunki
Copy link

wunki commented Jul 17, 2014

Have the same error. Quick fix for now is:

pip install salt==2014.1.7

@mprymek
Copy link

mprymek commented Jul 22, 2014

Hi guys, have you found any other fix then pip? I don't want to mess with pip on servers...

@amontalban
Copy link

Anyone got a solution for this? I have just bumped with this today and had to install py-pip and execute what @wunki said.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment