anhaidgroup/deepmatcher

cannot import name 'unicode_csv_reader' from 'torchtext.utils'

Opened this issue · 0 comments

I've got torchtext 0.10.0 installed and whenever I execute import deepmatcher I get this:

ImportError                               Traceback (most recent call last)
[<ipython-input-11-e017bad088ef>](https://vmyj79kf1g-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230124-060109-RC00_504221406#) in <module>
----> 1 import deepmatcher as dm

6 frames
[/usr/local/lib/python3.8/dist-packages/torchtext/legacy/data/dataset.py](https://vmyj79kf1g-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230124-060109-RC00_504221406#) in <module>
     11 from torchtext.data.utils import RandomShuffler
     12 from .example import Example
---> 13 from torchtext.utils import download_from_url, unicode_csv_reader
     14 
     15 

ImportError: cannot import name 'unicode_csv_reader' from 'torchtext.utils' (/usr/local/lib/python3.8/dist-packages/torchtext/utils.py)

Any idea where this could be coming from? I'm executing this on a collar notebook on a newer Mac