Replies: 1 comment 1 reply
-
Also having this same issue |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Error:
Swift Compiler Error (Xcode): No such module 'Python'
Recently, I messed up python on my computer while I was trying to build toolchain modules (like it says in the documentation) and others for the
flet build ipa
command, and so I had to completely uninstall it and reinstall it using Homebrew. Python now works, but unfortunately, this caused my python interpreter to be in a different file/opt/homebrew/bin/python3
instead of whatever it was before (I believe it wasn't with Homebrew).So, I am pretty sure that if I am able to change the file directory of where Xcode pulls python from, it will fix the error. I need to change it to
opt/homebrew/bin/python3
.However, because flet doesn't build an Xcode project I am not quite sure how I could change the directory python file. Any ideas? Thanks in advance!
Code sample
No response
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions