Try putting /usr/local/bin in your path before /usr/bin. El Capitan
rebuilt it's Python instance.d
Do this:
echo $PATH
And see what the order is. Your path is set in your .bash_profile file:
export
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:$HOME/bin:/usr/local/mysql/bin:/sbin:/usr/sbin:/usr/local/sbin
You may find, especially if you install lots of stuff via homebrew,
that reinstalling them will also solve issues.
> On Oct 21, 2015, at 1:47 PM, Ryan Kaldari <[email protected]> wrote:
>
> Recently I upgraded my Mac to OSX 10.10.5 and upgraded a lot of other stuff
> in the process. But now I can't get git-review to work. Whenever I try to
> run it, it gives the following stacktrace:
>
> Traceback (most recent call last):
> File "/usr/local/bin/git-review", line 11, in <module>
> sys.exit(main())
> File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 1522, in
> main
> _main()
> File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 1377, in
> _main
> (os.path.split(sys.argv[0])[-1], get_version()))
> File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 209, in
> get_version
> provider = pkg_resources.get_provider(requirement)
> File
> "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
> line 177, in get_provider
> return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
> File
> "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
> line 654, in require
> needed = self.resolve(parse_requirements(requirements))
> File
> "/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
> line 552, in resolve
> raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: git-review
>
> If I run "pip install --upgrade setuptools":
> Requirement already up-to-date: setuptools in
> /Library/Python/2.7/site-packages
>
> If I run "pip install -U git-review":
> Requirement already up-to-date: git-review in
> /Library/Python/2.7/site-packages
> Requirement already up-to-date: argparse in
> /Library/Python/2.7/site-packages (from git-review)
> Requirement already up-to-date: requests>=1.1 in
> /Library/Python/2.7/site-packages (from git-review)
>
> If I run "/usr/bin/easy_install --version":
> distribute 0.6.14
>
> I couldn't find any solution on Google or in our git-review docs. Any
> suggestions?
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
---
Brandon Harris :: [email protected] :: made of steel wool and whiskey
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l