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

torchtext version issue #14

Closed
CarreraPHP opened this issue Apr 28, 2024 · 6 comments
Closed

torchtext version issue #14

CarreraPHP opened this issue Apr 28, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@CarreraPHP
Copy link

@team,

my Mac Specification - Mac M3 Max 128GB RAM and 4TB Storage.

I cloned the repo and trying to install below error occurs

ERROR: Could not find a version that satisfies the requirement torchtext==0.17.1 (from corenet) (from versions: 0.1.1, 0.2.0, 0.2.1, 0.2.3, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.16.2, 0.17.2, 0.18.0)
ERROR: No matching distribution found for torchtext==0.17.1

I am able to get the torchtext 0.18.0 but again it is not working.

@CarreraPHP
Copy link
Author

I use conda for python and installed latest python version

@rezashahnazar
Copy link

I initially had the same issue on MacBook Pro M1; However, it fixed when I explicitly mentioned the python version 11 (instead of default 12 on my system) when installing venv by changing the following part of installation:

python3.11 -m venv venv && source venv/bin/activate

I think its reasonable to have an improvement on the documentation around versions.

@ruslan1310
Copy link

hello

@michaelrrrrrr
Copy link

I initially had the same issue on MacBook Pro M1; However, it fixed when I explicitly mentioned the python version 11 (instead of default 12 on my system) when installing venv by changing the following part of installation:

python3.11 -m venv venv && source venv/bin/activate

I think its reasonable to have an improvement on the documentation around versions.

After changing Python version to 3.11.9 on Ubuntu Desktop 24.04, everything works fine.

@mohammad7t mohammad7t added the bug Something isn't working label May 3, 2024
@mohammad7t
Copy link
Collaborator

Hi @CarreraPHP @rezashahnazar and @michaelrrrrrr,

Thank you for bringing this into our attention and thank you for your suggestions. My understanding from your suggestions is that the torchtext==0.17.1 dependency fails to get installed on python-3.12. We will look into this and update our requirements and/or documentation.

@mohammad7t
Copy link
Collaborator

Hi all,
We've just merged #37 , which should fix this issue. I'm closing this issue, but please feel free to re-open it if you face issues with torchtext==0.17.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants