Skip to content
Snippets Groups Projects
Commit 063d750b authored by Nicolas Barthes's avatar Nicolas Barthes
Browse files

updated README.md for Julia install

parent b03b645d
No related branches found
No related tags found
No related merge requests found
...@@ -20,13 +20,17 @@ The SQL script to create the database is in this same folder. ...@@ -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 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 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. (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.
From the CLI: python 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 > python
'>>> import julia '>>> import julia
'>>> julia.install() '>>> julia.install()
'>>> from julia import Pkg '>>> 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: To check if Jchemo is installed without errors:
> '>>> Pkg.status() > '>>> Pkg.status()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment