all,
IN my ubuntu(uname -a): Linux ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri 
Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux,
after installing the scikit-learn from source package followd by 
https://pypi.python.org/pypi/scikit-learn/ ,
run 'nosetests --exe sklearn' ,following error happens:
root@ubuntu:~/scikit-learn# nosetests --exe sklearn
E
======================================================================
ERROR: Failure: ImportError (No module named _check_build
___________________________________________________________________________
Contents of /root/scikit-learn/sklearn/__check_build:
_check_build.pyx          setup.pyc                 __init__.py
_check_build.c            __init__.pyc              setup.py
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in 
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in 
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in 
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/root/scikit-learn/sklearn/__init__.py", line 31, in <module>
    from . import __check_build
  File "/root/scikit-learn/sklearn/__check_build/__init__.py", line 46, in 
<module>
    raise_build_error(e)
  File "/root/scikit-learn/sklearn/__check_build/__init__.py", line 41, in 
raise_build_error
    %s""" % (e, local_dir, ''.join(dir_content).strip(), msg))
ImportError: No module named _check_build
___________________________________________________________________________
Contents of /root/scikit-learn/sklearn/__check_build:
_check_build.pyx          setup.pyc                 __init__.py
_check_build.c            __init__.pyc              setup.py
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)

There is no any errors during building and installing, could you help me?

Thanks
Aaron


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to