Comments (11)
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.
It worked fine for me. I have python 2.7.3 on Mountain Lion (installed via homebrew a while back).
from howdoi.
Odd. kstenerud/avelis, any idea why the install is failing? (it works for me).
Do you have easy_install installed?
from howdoi.
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.
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.
@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.
Thanks all! Happy hacking.
from howdoi.
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.
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.
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.
This should definitely be in README.
from howdoi.
Related Issues (20)
- Can't print non-ascii text to windows terminal HOT 3
- pickle.UnpicklingError: the STRING opcode argument must be quoted HOT 4
- Add flag to enable paging / choose pager HOT 3
- Is the tracking parameter t=hj in the duckduckgo URL intentional? HOT 7
- Function `_format_url_to_filename` only used in tests HOT 2
- Error in command `howdoi print in python` HOT 3
- Add checks when it comes to something like `range` HOT 2
- Not installable in python3.5 HOT 3
- Change pull request template "Pull request Type" to checklist HOT 2
- Add page cache to .gitignore HOT 1
- fresh install, stuck at 1.1.9 HOT 4
- Fetch Bing- Chat-GPT HOT 2
- Add method to detect symbols like +, /, etc. in the queries HOT 7
- ERROR: Sorry, couldn't find any help with that topic (use --explain to learn why) HOT 8
- GPT Implementation?
- 403 forbiddeb HOT 2
- Questions about Copilot + Open Source Software Hierarchy
- Coloured output not visible in light terminal window
- Add bash / zsh / fish shell completions
- Add extension to Open VSX registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howdoi.