tcgoetz/GarminDB

Make fails in version checking on Ubuntu

yee-jonathan opened this issue · 1 comments

Describe the bug
When making from Source on a freshly installed Ubuntu instance, running into an error where python cannot see functions imported from garmindb.version. Commenting out the version check allows the install to proceed. This is after installing build-essentials, which allows form make

To Reproduce
Steps to reproduce the behavior:

  1. Clone from GitHub using SSH
  2. Ensure make is on host
  3. Run make setup

Expected behavior
A clear and concise description of what you expected to happen.

Logs
Screenshot 2024-04-08 153230

Additional context
I initially thought the import was erroring due to the virtual environment not activating. When running source .venv/bin/activate then make setup, I would get an error related to import fitfile

Screenshot 2024-04-08 153825

For whomever maintains this - Line 32 .GarminDB/garmindb/version.py
Left an additional parameter ('verbose') in the function call.

Line 72 in Makefile - the line 'python' doesn't work when the alias for the python exe is 'python3' - default for ubuntu.