Re: failed to import python package when using cacheArchive

2012-03-01 Thread Marcos Ortiz
On 03/01/2012 10:42 PM, devdoer bird wrote: Does anyone can help? 2012/2/21 devdoer bird mailto:devdo...@gmail.com>> HI: I packed a python module to "mypackage.tar.gz" and upload it to hdfs ,then visit the package with " -cacheArchive /app/mypackage.tar.gz#mypackage" But t

Re: failed to import python package when using cacheArchive

2012-03-01 Thread devdoer bird
Does anyone can help? 2012/2/21 devdoer bird > HI: > > I packed a python module to "mypackage.tar.gz" and upload it to hdfs ,then > visit the package with " -cacheArchive /app/mypackage.tar.gz#mypackage" > > > But the python script failed to "import mypacakge" , it throw the failed > to import e

failed to import python package when using cacheArchive

2012-02-20 Thread devdoer bird
HI: I packed a python module to "mypackage.tar.gz" and upload it to hdfs ,then visit the package with " -cacheArchive /app/mypackage.tar.gz#mypackage" But the python script failed to "import mypacakge" , it throw the failed to import exception " no module named mypacakge". I need some help. T