This project requires Julia and Python with the following versions and dependencies.
- Julia version: 1.11.6\
- Dependencies are fully specified in
Project.tomlandManifest.toml.
From the project root directory:
julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'This will install the exact versions of all Julia packages as locked in
Manifest.toml.
To check your Julia setup:
julia --project=. -e 'using InteractiveUtils; versioninfo()'- Python version: 3.11.6\
- Dependencies are listed in
requirements.txt.
We recommend using a virtual environment:
# create and activate venv
python -m venv .venv
source .venv/bin/activate
# install dependencies
pip install -r requirements.txtTo check Python version:
python -VOnce both environments are set up:
# Run Julia script with project environment
julia --project=. src_jl/loaddate_gen_test.jlIf you need Python support inside Julia (via PyCall or PythonCall),
ensure the correct Python environment is active or configured.
- Julia and Python versions are pinned to ensure reproducibility.\
- If you encounter issues with package resolution, delete
Manifest.tomland re-runPkg.instantiate(), though this may update to newer versions.\ - For GPU solvers (e.g., Gurobi), make sure the environment variables
(like
LD_LIBRARY_PATH) are properly set, as in the example above.