Closed
Description
Description
Importing FeatureHasher results in an ImportError
Steps/Code to Reproduce
from sklearn.feature_extraction import FeatureHasher
Expected Results
Example: No error is thrown.
Actual Results
Traceback (most recent call last):
File "", line 1, in
File "/home/franz/.local/lib/python3.6/site-packages/sklearn/feature_extraction/init.py", line 8, in
from ._hashing import FeatureHasher
ImportError: cannot import name 'FeatureHasher'
However, it's working with 0.21
Versions
System:
python: 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0]
executable: /usr/bin/python3
machine: Linux-4.15.0-72-generic-x86_64-with-Ubuntu-18.04-bionic
Python dependencies:
pip: 9.0.1
setuptools: 41.6.0
sklearn: 0.22
numpy: 1.17.4
scipy: 1.3.3
Cython: 0.29.13
pandas: 0.25.3
matplotlib: 3.1.1
joblib: 0.14.1
Built with OpenMP: True
Metadata
Metadata
Assignees
Labels
No labels