Closed carlosseru closed 1 month ago
Run npm install -g @latitude-data/cli Installation is fine. But when running latitude start it returns error due to python package distutils
node -v
npm -v
Installation success
Failed at import gyp. npm ERR! ModuleNotFoundError: No module named 'distutils'
The library distutils has been removed in python 3.12 I fixed it by running pip3 install setuptools (https://stackoverflow.com/questions/69919970/no-module-named-distutils-but-distutils-installed)
Maybe it is related to this issue https://github.com/duckdb/duckdb/issues/9301
Thanks for reporting!
Adding the workaround to docs until we have a longterm fix
Steps To Reproduce
Run npm install -g @latitude-data/cli Installation is fine. But when running latitude start it returns error due to python package distutils
Environment
node -v
): 20.12.2npm -v
): 10.5.0Expected Behavior
Installation success
Actual Behaviour
Failed at import gyp. npm ERR! ModuleNotFoundError: No module named 'distutils'
Workarounds
The library distutils has been removed in python 3.12 I fixed it by running pip3 install setuptools (https://stackoverflow.com/questions/69919970/no-module-named-distutils-but-distutils-installed)