swift icon indicating copy to clipboard operation
swift copied to clipboard

Cannot load underlying module for 'Darwin

Open Aurther-Nadeem opened this issue 4 years ago • 0 comments

I believe this may be happening due to me using Apple Silicon, but I get this error when running: import PythonKit

error: could not find module 'PythonKit' for target 'arm64-apple-macos'; found: x86_64

I've tried running with arch -x86-64 but it then says error: cannot load underlying module for 'Darwin'

Any way around this?

Aurther-Nadeem avatar Jul 06 '21 19:07 Aurther-Nadeem