gleitz / howdoi

instant coding answers via the command line
http://blog.gleitzman.com/post/43330157197/howdoi-instant-coding-answers-via-the-command-line
MIT License
10.55k stars 870 forks source link

Unable to install howdoi on Mac Snow Leopard #38

Closed JESii closed 11 years ago

JESii commented 11 years ago

Tried installing on my MacBook; results are as follows:

EDP24:ArborwellWebForms jseidel$ brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb
######################################################################## 100.0%
==> Downloading http://pypi.python.org/packages/source/h/howdoi/howdoi-1.0.tar.gz
Already downloaded: /Users/jseidel/Library/Caches/Homebrew/howdoi-1.0.tar.gz
==> python setup.py install
Using build configuration of libxslt 1.1.24
warning: no files found matching '*.txt' under directory 'src/lxml/tests'
cc1: error: unrecognized command line option "-march=core2"
lipo: can't open input file: /var/folders/0Y/0YhDVwcDGu4v6rBRQGIUdk+++TM/-Tmp-//cc6ZuOKi.out (No such file or directory)
error: Setup script exited with error: command '/usr/bin/gcc-4.2' failed with exit status 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

Also, see http://pastie.org/5811939 for details

gleitz commented 11 years ago

What version of Python are you using? Check the output of python -V

JESii commented 11 years ago

2.6.1

Jon Seidel, CMC® EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com Effective Decisions... Priceless! LinkedIn Profile Technology that means Business - Since 1979 phone: 510-530-6314 fax: 510-531-1522

Results that Make the Difference! The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute of Management Consultants USA (an ISO/IEC 17024:2003 Certifying Body), including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics. The CMC is the only consulting certification that has been ISO-accredited and recognized by the insurance industry as reducing risk. Check out IMC USA for more information.

On Jan 22, 2013, at 10:19 AM, Benjamin Gleitzman wrote:

What version of Python are you using? Check the output of python -V

— Reply to this email directly or view it on GitHub.

gleitz commented 11 years ago

Although it should work in 2.6, you may want to update to 2.7 and see if that fixes the issue.

JESii commented 11 years ago

EDP24:~ jseidel$ python -V Python 2.7.3 EDP24:~ jseidel$ brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb ######################################################################## 100.0% ==> Downloading http://pypi.python.org/packages/source/h/howdoi/howdoi-1.0.tar.gz Already downloaded: /Users/jseidel/Library/Caches/Homebrew/howdoi-1.0.tar.gz ==> python setup.py install Traceback (most recent call last): File "setup.py", line 3, in from setuptools import setup, find_packages ImportError: No module named setuptools

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

I'm not a pythonista, so I'm googling to see what I need to do...on

Jon Seidel, CMC® EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com Effective Decisions... Priceless! On Jan 22, 2013, at 11:00 AM, Benjamin Gleitzman wrote:

Although it should work in 2.6, you may want to update to 2.7 and see if that fixes the issue.

— Reply to this email directly or view it on GitHub.

gleitz commented 11 years ago

With the upgrade of Python you need to install easy_install again. It is provided by a package called setuptools.

Install this -> http://pypi.python.org/pypi/setuptools

JESii commented 11 years ago

That worked; thanks... ( python is strange stuff :=)

Cheers...jon

Jon Seidel, CMC® EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com Effective Decisions... Priceless! LinkedIn Profile Technology that means Business - Since 1979 phone: 510-530-6314 fax: 510-531-1522

Results that Make the Difference! The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute of Management Consultants USA (an ISO/IEC 17024:2003 Certifying Body), including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics. The CMC is the only consulting certification that has been ISO-accredited and recognized by the insurance industry as reducing risk. Check out IMC USA for more information.

On Jan 22, 2013, at 1:02 PM, Benjamin Gleitzman wrote:

With the upgrade of Python you need to install easy_install again. It is provided by a package called setuptools.

Install this -> http://pypi.python.org/pypi/setuptools

— Reply to this email directly or view it on GitHub.