Dataclasses Issue in Local Deployment #72
Replies: 2 comments 3 replies
-
|
@codeindulgence @alexgleith can you please have a look at this? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @de-wax-apple. This is likely caused by using package versions not compatible with 3.6. The The Cheers and best of luck! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am going through the beginner’s guide notebooks but got stuck in the 03_Products_and_measurements when running the notebook in my local machine.
I had manually installed the datacube and odc packages. But it still doesn’t work due to the dataclasses issue.
Originally, there was an error message about missing a “dataclasses” module. I manually copied and paste the dataclasses.py from my Python 3.8 folder into the datacube env’s Python 3.6 folder (Normally, I use Python 3.8, but the default in datacube env is 3.6; so, I used that instead). That fixed this error.

But then another error appeared, saying there's "invalid syntax":
Beta Was this translation helpful? Give feedback.
All reactions