Just.swift:2:8: error: no such module 'FoundationNetworking'

#1

I am running s4tf notebooks after a bit of a hiatus and I’m getting this error in 06_cuda notebook. Anybody have experience with this? It fails in importing the Just library.

Just.swift:2:8: error: no such module 'FoundationNetworking'

Thanks

0 Likes

(Victor Guerra) #2

hello @keijik,

The reason for this is that the toolchain you are using is not up to date. Are you running on google colab? If so, you can trigger an update of the toolchain by following this notebook : https://colab.research.google.com/github/tensorflow/swift/blob/master/notebooks/install_latest_swift.ipynb. If you are building the toolchain yourself, please make sure that you update your checkout ( mainly you need to have this commit - which updates the reference to swift-corelibs-foundation).

1 Like

(Jeremy Howard (Admin)) #3

@saeta is currently updating the notebooks for the Swift 0.4 release (and MOOC release) on Friday, so things are going to be a bit broken until then. I’d suggest grabbing a commit from last week in the meantime, and using Swift 0.3.1.

1 Like

#5

Thanks Jeremy & @vguerra! I’ll check it out.

0 Likes

#6

OK - everything working again with 0.4rc. Thanks!

2 Likes