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
warning: Swift error in module errors when using swift from Homebrew #170
Comments
I also see this. CC @aleksey @jdhealy @C-l-o-u-d and the venerable @mxcl in case any of you have any insights here on what we're doing wrong in https://github.com/Homebrew/homebrew-core/blob/master/Formula/swift.rb |
Actually, I see the issue: run |
Yup, that works, I feel so silly 😄 Thanks! |
Well, I did the same thing at first so: don't! |
Seems like lldb is loading the wrong libraries, /cc @ddunbar If we're doing wrong, we'll file a bug. |
@mxcl Thanks! FYI it seems to be only reproducible when you have the CLT installed but not Xcode. |
@MikeMcQuaid that's exactly what my setup was also. After install Xcode yesterday, the version in /usr/bin works too 😄 However, another problem is that installing Python from Homebrow causes heads pf Python exceptions when running the version in /usr/bin: e.g.
I'm not 100% sure how to get around this as I need the Homebrew Python installed and wouldn't mind using the Xcode Swift while learning Swift. Open to thoughts and ideas 😄 |
I am also getting exactly the same problem that @fgimian is when trying to run Swift directly on REPL. |
@fgimian @JonathanBarrosGIT Please open a new issue. |
Run 'pip install six'. Apparently the REPL relies on Python and if you've been messing with the default version you may run into this error. #2712 . |
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Bug reports:
Hello there, I'm not sure if others are experiencing this issue, but after installing Swift with Homebrew:
When I try to start
swift
, I get a bunch of errors like this:Any help would be appreciated 😄
The text was updated successfully, but these errors were encountered: