-
Notifications
You must be signed in to change notification settings - Fork 811
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
Torch text does not work with python 3.9 despite pypi saying it works for 3.6+ #1394
Comments
|
Thanks @brando90 for raising the issue. Yes, looks like the problem with Conda installation. could you please try with pip using version 0.8.1 (the supported version for 3.9, I will update the readme as well)
It seems to be same issue using Conda with audio/vision as well for pytorch version<1.9? CC: @seemethere CC: @mthrok, @NicolasHug |
would having my setup.py have
be sufficient? How is the rest going? @seemethere @mthrok @NicolasHug |
will try your suggestion in a bit. My hpc is slow so the install will take me some time... |
is this relevant? https://stackoverflow.com/a/65458738/1601580 |
but I also need pytorch 1.9.x. Would that work? @parmeet |
for pytorch 1.9.x you would need to install torchtext >=0.10.0. This one also supports python 3.9. If you try installing using Conda without explicitly specifying the torchtext version i.e |
🐛 Bug
Do the following on a new env:
Expected behavior
Expected is that one can import torchtext e.g.
error:
Environment
related: #1395, #1397
The text was updated successfully, but these errors were encountered: