-
Notifications
You must be signed in to change notification settings - Fork 527
No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torchgen/packaged/ATen/native/native_functions.yaml' #6689
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
Labels
module: user experience
Issues related to reducing friction for users
Comments
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Nov 8, 2024
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Nov 8, 2024
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
@larryliu0820 @dbort @GregoryComer can you take a look? |
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Jan 5, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
Thanks for your suggestion and fix! Marking this as resolved. |
larryliu0820
pushed a commit
that referenced
this issue
Mar 17, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix #6689
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Mar 18, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Mar 18, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
AkiSakurai
added a commit
to AkiSakurai/executorch
that referenced
this issue
Apr 1, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
mergennachin
pushed a commit
that referenced
this issue
Apr 1, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix #6689
kirklandsign
pushed a commit
that referenced
this issue
Apr 11, 2025
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix #6689
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not necessary for the package to be located in get_python_lib.
For example, when compiling PyTorch from source using python3 setup.py develop, the package is located directly in the source folder.
Note that I cannot use the prebuilt PyTorch package, as it is no longer available on Intel Macs.
importlib.util.find_spec('torchgen') might be more portable.
The text was updated successfully, but these errors were encountered: