Julia Dependencies for PYSR

I am trying to install Julia dependencies for PYSR and I am getting following message . HOW DO I RESOLVE THIS?

JuliaError: Exception ‘GitError(Code:ERROR, Class:SSL, Your Julia is built with a SSL/TLS engine that libgit2 doesn’t know how to configure to use a file or directory of certificate authority roots, but your environment specifies one via the SSL_CERT_FILE variable. If you believe your system’s root certificates are safe to use, you can export JULIA_SSL_CA_ROOTS_PATH="" in your environment to use those instead.)’ occurred while calling julia code:
Pkg.add([sr_spec, clustermanagers_spec], io=stderr)

Which operating system are you using? Which Julia version? What is the output of

versioninfo()

?

Windows 11.
Julia 1.9.3

Julia Version 1.9.3
Commit bed2cd540a (2023-08-24 14:43 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × 11th Gen Intel(R) Core™ i5-1135G7 @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, tigerlake)
Threads: 1 on 8 virtual cores
Environment:
JULIA_SSL_CA_ROOTS_PATH =

Python 3.8.18

How did you try do install PySR? Conda? pip? docker?

There is even a forum just for PySR: MilesCranmer/PySR Q A · Discussions · GitHub

2 Likes

Ping @milescranmer

Something is a bit strange. How did you install Julia, Python, and PySR?

Conda install, as it was discussed by MILESCRANMER in GitHub.

Well, from my personal point of view Python on Windows is a nightmare… That’s why I am using Julia on Linux… No such problems. But I understand that you cannot use pure Julia if you want to use PySR…

PySR is a python wrapper for a Julia package, so you definitely can use it without python.

My current understanding is that you used conda to install PySR, which in turn also installed Julia via conda? Did you do this on Linux or Windows?

1 Like

See above…

That doesn’t quite add up because you cannot install PySR via conda on Windows:
https://anaconda.org/conda-forge/pysr

oh… there’s an old noarch version.

Could you do a conda list for us so we can see what’s going on in the conda environment?

1 Like

Pip install pysr resolved the issue for Julia Dependencies for PYSR. Thank you @ufechner7

2 Likes

Great !

Can you mark the topic as resolved?