I afraid it also some problem. I could import mesos.native in OSX success while import mesos.native failed in CentOS. I am not sure it is because of the bug of code or just because of my dirty environment. Let me deep into it and give you feedback later.
On Mon, Aug 3, 2015 at 5:23 PM, Jian Bo <[email protected]> wrote: > It is very kind of you . > In my /usr/local/lib/python2.7/site-packages/mesos , there are two > directory : interface/ native/ > > interface/ : > containerizer_pb2.py containerizer_pb2.pyc __init__.py __init__.pyc > mesos_pb2.py mesos_pb2.pyc > > native/ : > __init__.py __init__.pyc _mesos.so* > > same to yours? > > On Mon, Aug 3, 2015 at 5:17 PM, haosdent <[email protected]> wrote: > > > In server (CentOS 6.6), it is located > > in /usr/local/lib/python2.6/site-packages/mesos/ > > > > On Mon, Aug 3, 2015 at 5:15 PM, haosdent <[email protected]> wrote: > > > > > In my machine(OS X), it is located > > > in /usr/local/lib/python2.7/site-packages/mesos. > > > > > > On Mon, Aug 3, 2015 at 4:40 PM, Jian Bo <[email protected]> > wrote: > > > > > >> Thank you , but it doesn't work, the same error comes agaig. I doubt > it > > >> doesn't exist . > > >> Can you tell me where this lib file should be located? > > >> > > >> On Mon, Aug 3, 2015 at 4:29 PM, haosdent <[email protected]> wrote: > > >> > > >> > I think you need add /usr/local/libpython2.7/site-packages/ to your > > >> > sys.path > > >> > > > >> > On Mon, Aug 3, 2015 at 3:54 PM, Jian Bo <[email protected]> > > wrote: > > >> > > > >> > > 1 There is no explicit words like "error, warning", and all the > step > > >> of > > >> > > "make check " run well( .....[OK] ). > > >> > > 2 Yeah, I find "mesos/ mesos.interface-0.23.0.dist-info/ > > >> > > mesos.interface-0.23.0-py2.7-nspkg.pth > > >> mesos.native-0.23.0.dist-info/ > > >> > > mesos.native-0.23.0-py2.7-nspkg.pth " in > > >> > > /usr/local/libpython2.7/site-packages/ > > >> > > > > >> > > On Mon, Aug 3, 2015 at 3:34 PM, haosdent <[email protected]> > > wrote: > > >> > > > > >> > > > After you execute "make install", could you find some error in > the > > >> log? > > >> > > Or > > >> > > > find some thing like /usr/lib64/python2.7/site-packages/mesos* > in > > >> > python > > >> > > > sys.path? > > >> > > > > > >> > > > On Mon, Aug 3, 2015 at 3:22 PM, Jian Bo <[email protected] > > > > >> > wrote: > > >> > > > > > >> > > > > I follow the gettingstarted page of the official website, then > > >> > download > > >> > > > the > > >> > > > > tar package. > > >> > > > > Furthermore , all steps above run well. > > >> > > > > > > >> > > > > On Mon, Aug 3, 2015 at 3:13 PM, haosdent <[email protected]> > > >> wrote: > > >> > > > > > > >> > > > > > Hello, how you install mesos-0.23? You install from build > > >> source? > > >> > > > > > > > >> > > > > > On Mon, Aug 3, 2015 at 3:01 PM, Jian Bo < > > [email protected] > > >> > > > >> > > > wrote: > > >> > > > > > > > >> > > > > > > Hi dev-friends, > > >> > > > > > > I deploy apache mesos-0.23 on Ubuntu14.04 This error > comes > > >> from > > >> > > the > > >> > > > > > last > > >> > > > > > > step "# Run Python framework (Exits after successfully > > running > > >> > some > > >> > > > > > > tasks.). $ ./src/examples/python/test-framework > > >> 127.0.0.1:5050" > > >> > > > > > > > > >> > > > > > > Mesos/src/examples/python/test_framework.py line 25, > > >> mesos.native > > >> > > > could > > >> > > > > > not > > >> > > > > > > found > > >> > > > > > > < > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > http://stackoverflow.com/questions/31778838/mesos-src-examples-python-test-framework-py-line-25-mesos-native-could-not-foun > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > Anyone who can help me solve this problem? > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > -- > > >> > > > > > Best Regards, > > >> > > > > > Haosdent Huang > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > Best Regards, > > >> > > > Haosdent Huang > > >> > > > > > >> > > > > >> > > > >> > > > >> > > > >> > -- > > >> > Best Regards, > > >> > Haosdent Huang > > >> > > > >> > > > > > > > > > > > > -- > > > Best Regards, > > > Haosdent Huang > > > > > > > > > > > -- > > Best Regards, > > Haosdent Huang > > > -- Best Regards, Haosdent Huang
