Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mauri5566 opened this issue Jan 26, 2023 · 0 comments
Open

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

mauri5566 opened this issue Jan 26, 2023 · 0 comments

Comments

@mauri5566
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant