MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia
https://astroautomata.com/PySR
Apache License 2.0
2.19k stars 207 forks source link

[BUG] Colab notebook broken on newer Julia versions #249

Closed MilesCranmer closed 1 year ago

MilesCranmer commented 1 year ago

I see this error when trying the colab notebook on newer Julia versions:

Installing PyCall.jl...
  Installing known registries into `~/.julia`
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/1688f52d42fdeb191fb40e264179f68c65500be3 
Exception: `ccall` requires the compiler
Stacktrace:
 [1] top-level scope
   @ none:1

caused by: `ccall` requires the compiler
Stacktrace:
  [1] curl_easy_setopt(handle::Ptr{Nothing}, opt::UInt32, ptrval::Bool)
    @ LibCURL fatal: error thrown and no exception handler available.
ErrorException("`ccall` requires the compiler")

Other Julia notebooks are seeing the same error on the latest colab notebook with Julia 1.8.5: https://github.com/johnnychen94/colab-julia-bootstrap/issues/4.

MilesCranmer commented 1 year ago

Discourse issue: https://discourse.julialang.org/t/google-colab-compatibility-broken-on-julia-1-8-4/93004/4

Seems to be broken for all Julia versions above or equal to 1.8.4.

MilesCranmer commented 1 year ago

Superseded by #259