dragnet-org / dragnet

Just the facts -- web page content extraction
MIT License
1.25k stars 179 forks source link

Sklearn incompatibility #101

Open 127 opened 4 years ago

127 commented 4 years ago

This bug revealed again (closed 52).

/usr/local/lib/python3.7/site-packages/sklearn/base.py:253: UserWarning: Trying to unpickle estimator FeatureUnion from version 0.19.1 when using version 0.20.4. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)

scikit-learn 0.20.4 Cython 0.29.14

Installed via pip3 install dragnet (OS X 10.15.2 (19C57))

airhorns commented 4 years ago

Anyone figure out if there's a fix for this warning, or if it's actually affecting the results?

swetepete commented 2 years ago

I’m also exploring installing this tool and running into regular issues.

So far I think it’s because it was designed for Python 2.7 and they haven’t really updated to Python 3 yet.

That’s the simplest explanation I can think of for why so many issues in so many ways.

I had this issue or a similar one on Mac Monterey and on Debian 11 there are other issues.