You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installing with pip, SwiftDraw.o, no such file #84
I tried installing with pip and pipx with the same results. I also installed with a custom build director and --no-clean to see what the build looks like. After the build, I see this error (same as all the installs I have tried):
clang: error: no such file or directory: 'deps/extensions/svg/SwiftDraw.o'
The error is after this command:
clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/rwebb/miniconda3/envs/attn-simulator-py310/lib -L/Users/rwebb/miniconda3/envs/attn-simulator-py310/lib -Wl,-rpath,/Users/rwebb/miniconda3/envs/attn-simulator-py310/lib -L/Users/rwebb/miniconda3/envs/attn-simulator-py310/lib build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/foundry/Vandercook.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/io/AnimatedGif.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/io/Pages.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/io/SysAdmin.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/io/Video.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/module.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/pathmatics/gpc.o build/temp.macosx-11.0-arm64-cpython-310/deps/extensions/pathmatics/pathmatics.o deps/extensions/svg/SwiftDraw.o -o build/lib.macosx-11.0-arm64-cpython-310/_plotdevice.cpython-310-darwin.so -framework AppKit -framework Foundation -framework Quartz -framework Security -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework CoreText
After the error, looking in deps/extensions there is no svg directory.
I am on macOS 15.7.1 with the latest Xcode and Xcode command line tools: 26.1.1
Activity
rwebb commentedon Nov 17, 2025
I haven't found any useful clues online on how to solve this issue.
rwebb commentedon Nov 18, 2025
There is a SwiftDraw_Module.o in the location that SwiftDraw.o is not found in initially. Should the SwiftDraw_Module.o be used instead?
rwebb commentedon Nov 18, 2025
Ah, running the setup.py from the current main works: pip install pyobjc; python setup.py dev
fish2000 commentedon Nov 5, 2026
I still have this issue. Commenting out one line in
deps/extensions/svg/Makefileseems to fix everything:… if the line with the offending
cpcommand is commented out, thesetup.py buildand related commands run cleanly.Remove the offending `cp` command from `deps/extensions/svg/Makefile`
find SwiftDraw.o via `swift build --show-bin-path`