wwaites / saved_fisdat

SAVED project - data processing tools for fish farms
3 stars 0 forks source link

installlation error #6

Closed TrondurT closed 3 months ago

TrondurT commented 3 months ago

if i'm installing the app as instruckted by the readme file. https://github.com/wwaites/saved_fisdat/blob/caef6656bab07aeb539359417d9fdb934b3cb0e8/README.md?plain=1#L9-L19

my commands:

git clone git@github.com:wwaites/saved_fisdat.git
cd saved_fisdat/
git submodule init && git submodule update
python -m venv .venv
source .venv/bin/activate
python setup.py install

I get

error: The 'linkml' distribution was not found and is required by   fisdat

reset

cd ..
rm -rf saved_fisdat

But using pip to install the package:

git clone git@github.com:wwaites/saved_fisdat.git
cd saved_fisdat/
git submodule init && git submodule update
python -m venv .venv
source .venv/bin/activate
python -m pip install .

it installs

cd ..
ls $(python -c 'import pathlib, fisdat; print(pathlib.Path(fisdat.__file__).parent)')/..|grep data-model

but fisdat/../data-model is not to be found as requierd by: https://github.com/wwaites/saved_fisdat/blob/caef6656bab07aeb539359417d9fdb934b3cb0e8/fisdat/cmd_dat.py#L231