tensorflow / swift

Swift for TensorFlow
https://tensorflow.org/swift
Apache License 2.0
6.13k stars 606 forks source link

Cannot load underlying module for 'Darwin #617

Open Aurther-Nadeem opened 3 years ago

Aurther-Nadeem commented 3 years ago

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?