diff --git a/README.md b/README.md index 63a38851ea4386d80b06f006a34572163a66c985..e243b8bb9793edb8f97e1ddd67488729d51ef9b4 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,17 @@ The SQL script to create the database is in this same folder. This package is written in python. You can clone the repository: git clone https://src.koda.cnrs.fr/CEFE/PACE/nirs_workflow.git Then install the requirements: pip install -r requirements.txt -(OPTIONNAL) To use Locally weighted PLS Regression for creation model, you will need to install Jchemo.jl (https://github.com/mlesnoff/Jchemo.jl), a Julia package. -From the CLI: python +(OPTIONNAL) To use Locally weighted PLS Regression as the creation model algorithm, you will need to install Jchemo.jl (https://github.com/mlesnoff/Jchemo.jl), a Julia package. +First, install Julia (https://julialang.org/). _Tested versions are 1.10.2 and 1.10.4 (https://julialang.org/downloads/oldreleases/)_. +Then from the CLI: python > python '>>> import julia '>>> julia.install() '>>> from julia import Pkg -'>>> Pkg.add(["Jchemo","DataFrames","Pandas"]) +'>>> Pkg.add([Pkg.PackageSpec(name="Jchemo", version="0.4.0"), Pkg.PackageSpec(name="Pandas", version="1.6.1"), Pkg.PackageSpec(name="DataFrames", version="1.6.1"), ]) + +_The Manifest.toml file is also available. Instead of the Pkg.add() previous line, you can duplicate our full Julia environment with:_ +> '>>> Pkg.instantiate() To check if Jchemo is installed without errors: > '>>> Pkg.status()