-
Notifications
You must be signed in to change notification settings - Fork 343
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
Not able to set up Executorch(Error: Could not find a version that satisfies the requirement torch==2.3.0) #3670
Comments
supplement info: |
Hi @CannoChen do you use a new conda environment? 2.3 should be in pypi: https://pypi.org/project/torch/ |
Yes, all the steps are following the tutorial. |
@CannoChen can you try upgrading pip
|
@mergennachin I tried everything i can do. But this issue cant solved. So i exchange my os to Ubuntu20.04. It works! it look like a bug for macos. |
same problem in my env |
Is your Mac x86 based by any chance? If so, pytorch stopped publishing prebuilt pip packages since pytorch 2.3 I'd recommend installing the pytorch 2.3 from source |
Why would you think installing pytorch yourself would work? The fact is that we need a clean virtual environment if we follow the executorch tutorial. If pytorch is installed in the environment beforehand, some errors will occur!!! This is what I've learned through practice. On the other hand. When we run |
I am also facing the same issue. I am on Mac OS 11.0.1 |
same issue. NEED HELP 😿 |
Same issue here on mac |
In my case, I installed python how to check installed python arch python -c "import platform; print(platform.machine())" |
are you facing this issue in Apple Silicon chip? |
Yes, M3Max |
I'm facing the same issue on M2 |
Does @zhangzhenxi 's solution work for you? BTW in recent release the torch version is bumped to 2.4.0. Any similar symptom? |
I just setup things using |
any new suggestion for solving this problem? @MightyMoud M I have tried venv, problem not solved
ERROR: Could not find a version that satisfies the requirement torch==2.4.0 (from versions: 2.2.0, 2.2.1, 2.2.2) |
Same issue
Same issue |
Maybe check python, pip version? I also see similar issue and workaround from tensorflow/tensorflow#46506 (comment) |
same issue |
Same issue here, tried for python 3.10 and 3.11
Mac 12.5 : Intel Any solution ? |
Hi,This is CannoChen.I have received your mail.And then, I will reply to you later.Thank you!
|
I followed the guidelines on the tutorial(https://pytorch.org/executorch/stable/getting-started-setup) to set up my development environment. But it always shows an error:
ERROR: Could not find a version that satisfies the requirement torch==2.3.0 (from executorch) (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2)
ERROR: No matching distribution found for torch==2.3
My environment info:
How to solve this problem?
The text was updated successfully, but these errors were encountered: