Comments (10)
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
from homebrew-core.
@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.
raceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
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 😄
from homebrew-core.
Actually, I see the issue: run /usr/local/opt/swift/bin/swift
rather than /usr/bin/swift
and you'll not see these errors (they come from Apple's swift
, not ours).
from homebrew-core.
Yup, that works, I feel so silly 😄 Thanks!
from homebrew-core.
Well, I did the same thing at first so: don't!
from homebrew-core.
Seems like lldb is loading the wrong libraries, /cc @ddunbar
If we're doing wrong, we'll file a bug.
from homebrew-core.
@mxcl Thanks! FYI it seems to be only reproducible when you have the CLT installed but not Xcode.
from homebrew-core.
I am also getting exactly the same problem that @fgimian is when trying to run Swift directly on REPL.
from homebrew-core.
@fgimian @JonathanBarrosGIT Please open a new issue.
from homebrew-core.
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 .
from homebrew-core.
Related Issues (20)
- virt-manager --connect
- Linux - MPV is missing Wayland dependency HOT 7
- Python: setuptools-scm creates failed vendor build HOT 3
- library not found for -lzstd HOT 4
- pip check: openvino 2024.0.0 requires openvino-telementry, which is not installed HOT 1
- brew install j mismatch hash HOT 1
- incorrect jar reference in tika-server jar script HOT 2
- macOS Sonoma Silicon openssl@3: `libdir` variable in libcrypto.pc incorrect (misses `/lib` suffix) HOT 3
- Warning: Some installed kegs have no formulae! This means they were either deleted or installed manually. You should find replacements for the following formulae: python-flit-core HOT 1
- gdk-pixbuf: xpm support missing since 2.42.11 (now off by default upstream) HOT 3
- Compilation Failure with Clang from Brewed LLVM HOT 7
- gmime - pkgconfig file stale HOT 3
- llvm versioned formula does not build and install lldb HOT 4
- blackhole-2ch: ""com.apple.audio.coreaudiod": 1: Operation not permitted" error HOT 2
- curl formula does not install zsh completions
- Non-checksummed download of ffmpeg formula file from an arbitrary URL is unsupported! `brew extract` or `brew cr HOT 1
- Duplicate -lgcc flags in linker command with GCC 13.2.0 on macOS HOT 3
- PCSC-Lite configuration issue
- Octave 9.1.0 opengl bug interacting with qt6-6.7.0 HOT 4
- musikcube 3.0.2_1 crashing on startup HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-core.