Hi meek H,

Sometimes python dependencies use c bindings and require compiler to
build.  You can make sure that gcc is installed with

|which gcc|

on ubuntu it can be installed with following command:

|sudo apt-get install linux-headers-$(uname -r) build-essential

 |




On 21/05/14 19:50, meek H wrote:
> I was getting a unable to execute gcc: No such file or directory
> error.  When I ran "pip install
> -rhttp://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt
> <http://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt> "
>
> What worked for me was:
>
> 1) install gcc or in my case I ran yum groupinstall 'Development Tools
> 2) pip install -r
> http://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt
>
> I was trying to install Butterfly Terminal Web browser so:
>
> 3) sudo pip install butterfly
> (http://paradoxxxzero.github.io/2014/02/28/butterfly.html)
>
> Thanks!
>
> On Wednesday, December 8, 2010 4:17:28 PM UTC-5, jc wrote:
>
>     Yes, you are right. Once I installed build-essential everything
>     installed, with no issues. This is a really easy install, in my
>     opinion.
>
>     thanks!
>     j.
>
>     On Dec 8, 2:36 pm, Stuart Laughlin <[email protected]> wrote:
>     > I suspect this is happening when pip is trying to install thy
>     python
>     > imaging library (iirc that's one of the few packages that
>     require a C
>     > compiler to install). How to install dependencies is somewhat
>     > dependent upon the linux distribution you are using. On
>     debian/ubuntu
>     > I would do...
>     >
>     > # apt-get install python-dev
>     >
>     > ...and then try the pip install again. If that didn't work, I'd
>     try...
>     >
>     > # apt-get build-dep python-imaging
>     >
>     > ...and then try the pip install once more. But if you're not on
>     > something debian-based you'll need to take different steps.
>     >
>     > Bottom line is that pip is trying to install a package from
>     source and
>     > so it is trying to compile C code with gcc but you don't have the
>     > compiler installed.
>     >
>     > --Stuart
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     > On Wed, Dec 8, 2010 at 12:45 PM, jc <[email protected]>
>     wrote:
>     > > When issuing the command I get "unable to execute gcc: No such
>     file or
>     > > directory"
>     >
>     > > When using pip install
>     -rhttp://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt
>     <http://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt>
>
>     >
>     > > Anyone have this issue before and how do I go about finding this
>     > > missing dependency?
>     >
>     > > Thanks,
>     > > J.
>     >
>     > > --
>     > > You received this message because you are subscribed to the
>     Google Groups "Satchmo users" group.
>     > > To post to this group, send email to
>     [email protected] <javascript:>.
>     > > To unsubscribe from this group, send email to
>     [email protected] <javascript:>.
>     > > For more options, visit this group
>     athttp://groups.google.com/group/satchmo-users?hl=en
>     <http://groups.google.com/group/satchmo-users?hl=en>.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Satchmo users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/satchmo-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to