problems with PyML: ImportError: No module named _ckernel

Francesco Stablum stablum at gmail.com
Tue May 19 04:09:32 EDT 2009


Hello,
I am trying PyML ( http://PyML.sf.net ) with little success.
I tried to do the test: from PyML.demo import pyml_test

but all I got is that backtrace:
Traceback (most recent call last):
  File "./test.py", line 2, in <module>
    from PyML.demo import pyml_test
  File "/usr/src/PyML-0.7.2/PyML/__init__.py", line 4, in <module>
    from PyML.containers import *
  File "/usr/src/PyML-0.7.2/PyML/containers/__init__.py", line 3, in <module>
    VectorDataSet = __import__('PyML.containers.vectorDatasets',
fromlist=['']).VectorDataSet
  File "PyML/containers/vectorDatasets.py", line 4, in <module>
    from PyML.containers.baseDatasets import WrapperDataSet, BaseVectorDataSet
  File "PyML/containers/baseDatasets.py", line 4, in <module>
    from PyML.containers import ker
  File "PyML/containers/ker.py", line 6, in <module>
    from ext import ckernel
  File "PyML/containers/ext/ckernel.py", line 7, in <module>
    import _ckernel
ImportError: No module named _ckernel

Actually,  in the directory

/usr/lib/python2.5/site-packages/PyML/containers/ext/

there is the file _ckernel.so

and, if I do:
import _ckernel
in that directory, no problem happens.

Actually, there is a report for this bug:
http://sourceforge.net/forum/forum.php?thread_id=2167098&forum_id=393034
but nobody answered.

any ideas?
thanks in advance,
Francesco Stablum

-- 
The generation of random numbers is too important to be left to chance
- Robert R. Coveyou



More information about the Python-list mailing list