cube-js / cube_dbt

dbt integration for Cube
7 stars 2 forks source link

No module named 'math' #1

Closed SkinnyPigeon closed 11 months ago

SkinnyPigeon commented 11 months ago

Hey folks, whenever I try to import cube_dbt into my model/globals.py module I get the error Error: Python error: ModuleNotFoundError: No module named 'math'. However, if I start a Python interpreter the import works correctly and I am able to import the manifest as expected.

I am running Cube version 0.34.3 on an M1 Mac

SkinnyPigeon commented 11 months ago

As some extra context, if I put import math into the globals.py file by itself it gives the same error

ovr commented 11 months ago

Hello @SkinnyPigeon ,

It was Cube's issue. At that moment, we didn't support ARM64 (docker).

Could you give it a try with the latest release of Cube?

Thanks

SkinnyPigeon commented 11 months ago

Hi, that seems to be working now. I've got another issue but I'll open that separately. Thanks