Coder Social home page Coder Social logo

brew install doesn't work about howdoi HOT 11 CLOSED

gleitz avatar gleitz commented on June 24, 2024
brew install doesn't work

from howdoi.

Comments (11)

avelis avatar avelis commented on June 24, 2024

I ran into this issue as well. From what I can tell it just sets up python to run the install. I know there are instructions to run it via pip but would prefer to centralize my installs via Homebrew.

[ EDIT: Running OS X Lion with python 2.7.1 ]

from howdoi.

monfresh avatar monfresh commented on June 24, 2024

It worked fine for me. I have python 2.7.3 on Mountain Lion (installed via homebrew a while back).

from howdoi.

gleitz avatar gleitz commented on June 24, 2024

Odd. kstenerud/avelis, any idea why the install is failing? (it works for me).

Do you have easy_install installed?

from howdoi.

kstenerud avatar kstenerud commented on June 24, 2024

I have easy_install installed. I don't know why it's failing since it doesn't output any error messages besides

Please make the appropriate changes for your system and try again.

This is a fairly new system. I haven't installed anything via console besides homebrew and a few brew-installed utils like tree, lame, and poppler. Perhaps there's a dependency that you have installed on your system which isn't installed on a default OSX install?

from howdoi.

kstenerud avatar kstenerud commented on June 24, 2024

Got it working. Running it with -vd revealed that easy_install couldn't access /Library/Python/2.7/site-packages.

I had to change the permissions to go+w to get things working.

from howdoi.

avelis avatar avelis commented on June 24, 2024

@kstenerud investigations are correct and just in case people stumble here.

$ sudo chmod go+w /Library/Python/2.7/site-packages/

Should resolve this issue. To be clear: make sure easy_install is in a happy state before installing the howdoi formula.

from howdoi.

gleitz avatar gleitz commented on June 24, 2024

Thanks all! Happy hacking.

from howdoi.

corroded avatar corroded commented on June 24, 2024

Just a heads up, I also ran into this problem and since it looks like a lot of people do, maybe you can put a note in the README about this?

from howdoi.

ashwini7security avatar ashwini7security commented on June 24, 2024

Possibly if you get this error of lxml but chances are very rare :-

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-i686-2.7/src/lxml/lxml.etree.o

src/lxml/lxml.etree.c:4:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Solution:-

Just install python-lxml - pythonic binding for the libxml2 and libxslt libraries
$ apt-get install python-lxml
Then do
#not from root
$ pip install howdoi

from howdoi.

frankcortes avatar frankcortes commented on June 24, 2024

Just a note, in my case has been necessary to change the permission of the Library Python Folder recursively:

$ sudo chmod -R go+w /Library/Python/2.7/site-packages/

from howdoi.

ApsOps avatar ApsOps commented on June 24, 2024

This should definitely be in README.

from howdoi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.