Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> python modules using pig 12.0


Copy link to this message
-
Re: python modules using pig 12.0
When i used a python console i could import numpy installed so i presume it
was installed on the box and it was just a problem that pig did not know
where to look for it ?

Mark
On 18 October 2013 15:39, j.barrett Strausser <[EMAIL PROTECTED]
> wrote:

> Does the AWS EMR distro come with numpy either installed as a site package
> or in a virtual environment?
>
> Otherwise I'd think you'd need to do : apt-get install python-numpy or pip
> install numpy.
>
>
> On Fri, Oct 18, 2013 at 8:33 AM, Mark Olliver <
> [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > What do i need to do to use the numpy python module?.
> >
> > I have built pig 12 and have a udf that 'imports numpy' but i get the
> error
> > No module named numpy. I have not tried to use python modules before and
> am
> > unsure how to use them from within the newly supported pig 12 python
> > environment.
> >
> > (I am using AWS EMR but with a pig 12 not the standard aws pig 11.1)
> >
> > Regards
> >
> > Mark
> >
> > --
> >
> > *MARK OLLIVER*
> >
> > DevOPS EngIneer
> >
> > T. +44(0) 20 7775 5628
> >
> > 3-7 Herbal Hill / London / EC1R 5EJ
> >
> > www.infectiousmedia.com
> >
>
>
>
> --
>
>
> https://github.com/bearrito
> @deepbearrito
>

--

*MARK OLLIVER*

DevOPS EngIneer

T. +44(0) 20 7775 5628

3-7 Herbal Hill / London / EC1R 5EJ

www.infectiousmedia.com