You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
delize
changed the title
Building from Source - Failes on importing fitfile module
Building from Source - Fails on importing fitfile module
Jan 4, 2025
I encounter the same issue and tried digging a bit deeper. The order of execution is: make setup -> Target setup_install -> target version_check -> Call to
This is failing because import garmindb.version is executing garmindb.__init__.py which in turn tries importing fitfile which is not available in a fresh environment.
Here, I'm not sure what the intended behavior is. Maybe the fitfile module should've been taken from the Fit submodule in which case setting up the PYTHONPATH is missing, however garmindb.__init__.py als includes completely external dependencies like sqlalchemy that would need installation.
Or maybe the idea is to use the internally created venv and have all dependencies install first before doing the version check. In this case I'm wondering why Fit, Tcx and utilities are git submodules if fitfile, tcxfile and idbutils are installed via pip/pypi for the venv?
@tcgoetz - Any suggestion which way is inteded? I'll happily work towards a fix.
Describe the bug
Unable to
make setup
from sourceTo Reproduce
Steps to reproduce the behavior:
make setup
Expected behavior
Expected to have
make setup
complete successfully.Logs
Additional context
The text was updated successfully, but these errors were encountered: