Emanuele Olivetti
2011-11-11 08:57:30 UTC
Hi,
I am using the latest neurodebian 'python-sklearn' package
on ubuntu 11.04. I observe the following issue:
----
$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/sklearn/manifold/__init__.py", line 2, in <module>
from .isomap import Isomap
File "/usr/lib/pymodules/python2.6/sklearn/manifold/isomap.py", line 10, in <module>
from ..decomposition import KernelPCA
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/__init__.py", line 8, in <module>
from .sparse_pca import SparsePCA, MiniBatchSparsePCA
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/sparse_pca.py", line 10, in
<module>
from .dict_learning import dict_learning, dict_learning_online
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/dict_learning.py", line 17, in
<module>
from ..externals.joblib import Parallel, delayed, cpu_count
ImportError: cannot import name cpu_count
----
Maybe this issue is related to python-joblib, but I have it installed
as well...
Is there a way to solve this issue?
Thanks in advance,
Emanuele
I am using the latest neurodebian 'python-sklearn' package
on ubuntu 11.04. I observe the following issue:
----
$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from sklearn import manifold
Traceback (most recent call last):File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/sklearn/manifold/__init__.py", line 2, in <module>
from .isomap import Isomap
File "/usr/lib/pymodules/python2.6/sklearn/manifold/isomap.py", line 10, in <module>
from ..decomposition import KernelPCA
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/__init__.py", line 8, in <module>
from .sparse_pca import SparsePCA, MiniBatchSparsePCA
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/sparse_pca.py", line 10, in
<module>
from .dict_learning import dict_learning, dict_learning_online
File "/usr/lib/pymodules/python2.6/sklearn/decomposition/dict_learning.py", line 17, in
<module>
from ..externals.joblib import Parallel, delayed, cpu_count
ImportError: cannot import name cpu_count
----
Maybe this issue is related to python-joblib, but I have it installed
as well...
Is there a way to solve this issue?
Thanks in advance,
Emanuele