Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error,server cannot run #375

Closed
captainjzj opened this issue Oct 13, 2024 · 2 comments
Closed

Type error,server cannot run #375

captainjzj opened this issue Oct 13, 2024 · 2 comments

Comments

@captainjzj
Copy link

Finish step 1&2 on mac
Try to run standalone.py, it shows the errors
Cannot inherit frozen dataclasss from a non frozen one
image

@fatsbrown
Copy link
Contributor

Looks like a pint (stravalib dependency) issue with Python 3.13 hgrecco/pint#1969

I suggest downgrading to Python 3.12 until the issue is resolved. Another option is using Docker.

If you don't need Strava upload you can simply delete these lines

https://github.com/zoffline/zwift-offline/blob/75de4a98c965922d5d596c645f1243849e8b7b08/zwift_offline.py#L135C1-L137C40

@fatsbrown
Copy link
Contributor

Pint was updated, it's working with Python 3.13 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants