mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Sallou <olivier.sal...@irisa.fr>
Subject cannot find mesos.native python lib (mesos 1.1.0
Date Mon, 13 Mar 2017 16:41:17 GMT
Hi,

I installed Mesos 1.1.0 via deb repo, but when executing python "import
mesos.native", I have a no module named native.

I tried to compile from source install egg files directly, but I still
have the issue.


I can however see the module in python path:


root:~/mesos-1.1.0/build/src/python/dist# find /usr/lib/python2.7 | grep
native
/usr/lib/python2.7/dist-packages/pygments/styles/native.py
/usr/lib/python2.7/dist-packages/pygments/styles/native.pyc
/usr/lib/python2.7/site-packages/mesos.native-1.1.0-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/RECORD
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/DESCRIPTION.rst
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/top_level.txt
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/metadata.json
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/WHEEL
/usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/METADATA
/usr/lib/python2.7/site-packages/mesos/native
/usr/lib/python2.7/site-packages/mesos/native/__init__.pyc
/usr/lib/python2.7/site-packages/mesos/native/__init__.py

If I try to uninstall package (pip uninstall mesos.native), I have error:
"Not uninstalling mesos.native at /usr/lib/python2.7/site-packages,
owned by OS"

so it is seen by the system, but not by python... :-(

my PYTHONPATH is /usr/lib/python2.7/site-packages/

any idea on how to fix this ?

Thanks
Olivier

-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Mime
View raw message