mixpanel / mixpanel-utils

Other
87 stars 63 forks source link

Error when opening a file for import #56

Closed MatCast closed 6 months ago

MatCast commented 11 months ago

When using the import_events with a JSON file an error is thrown:

ValueError: invalid mode: 'rbU'

I think the solution would be to just set the mode to 'rb' instead.

mjahanshahi commented 7 months ago

You can also downgrade your python version to 3.10 which supports rbU

dongjae93 commented 6 months ago

This is fixed in https://github.com/mixpanel/mixpanel-utils/pull/58