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:
- Clone from GitHub using SSH
- Ensure
make
is on host - Run
make setup
Expected behavior
A clear and concise description of what you expected to happen.
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
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.