-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Failed install on Mountain Lion via Homebrew #73
Comments
Another way to install this on OSX if you use Homebrew package manager.
|
Hi @nicolargo Thanks for your answer, but your steps are exactly what I've done, as you can see in my initial comment (look at lines beginning with "→ "). |
Sorry ! i did not see the export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages line :( |
Hi, I confirm the issue is present also on OS X 10.7.4 with exactly the same output:
Nevertheless I was able to get a running Glances simply invoking pip the same way shown in the above output:
When I tried running it at first though, it was still throwing an error:
But simply running brew link glances fixed the whole thing.
Sure the brew pip Glances procedure still needs a fix but as a temporary workaround the above should work. |
I take the action to change the documentation for the next release. |
I am having the same issue on 10.6 and 10.7 as well. |
Update the documentation for 1.5 is done |
brew pip Glances still seems to have this issue. Not sure where the problem lies though. Installing through pip works fine, even on my 32 bit macbook pro. |
I think brew-pip is what is broken? |
josh/brew-pip#13 |
I think its brew-pip as well. The problem does not seem to be resolved either. Not sure why my issue was close over there. |
Hi! Encountered the same errors as @sparez i.e 20:15:59 case@neuromancer:~ > glances Traceback (most recent call last): File "/usr/local/share/python/glances", line 5, in from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 2711, in working_set.require(__requires__) File "/usr/local/lib/python2.7/site-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 690, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/site-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Glances==1.4 which I solved by running brew link glances I then ran glances and it worked just fine. But when exiting and re-running glances I got the following output 212-25-134-84:~ ibu$ glances Traceback (most recent call last): File "/usr/local/bin/glances", line 5, in from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: Glances==1.6 I tried relinking by running brew unlink glances && brew link glances which resulted in the same output as before. Any ideas? Edit: Perhaps I should add that I tried the proposed way first, i.e brew pip Glanceswhich resulted in Error: Failed executing: pip install glances==1.X --install-option=--prefix=/usr/local/XXX/glances/1.X (.rb:)etc. |
Hi,
I'm on Mac OS X 10.8.1, with the latest Homebrew and I can't install Glances.
Here is the full output :
The text was updated successfully, but these errors were encountered: