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

poetry installation error with torch library on MacOS. #4

Open
krishoang222 opened this issue Jan 8, 2025 · 3 comments
Open

poetry installation error with torch library on MacOS. #4

krishoang222 opened this issue Jan 8, 2025 · 3 comments

Comments

@krishoang222
Copy link

  • Got this error when run poetry install
  • My local environment:
    • MacOS
    • Global python version: 3.12.3
    • Local python version: 3.11.11 (I use pyenv local 3.11.11)
image
@tisu19021997
Copy link
Owner

tisu19021997 commented Jan 8, 2025

@krishoang222 Did you try poetry env use 3.11.11 poetry env use 3.11.10 before running poetry install? This seems related - there is no pytorch distribution for python 3.12

@tisu19021997
Copy link
Owner

I just added a part for Python environment installation. Hope this can help you @krishoang222 https://github.com/tisu19021997/snipai/blob/main/README.md

@krishoang222
Copy link
Author

krishoang222 commented Jan 12, 2025

I've tried both versions 3.11.11 and 3.11.10, but neither worked and showed the previous error.

One potential issue I've found—though I cannot confirm it yet—is that PyTorch starting from 2.3.0 only supports macOS 11.0+ on ARM64, which might be incompatible with my Intel-based 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

2 participants