mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-08 23:02:27 -05:00
Getting TypeError: __init__() takes 2 positional arguments but 4 were given #64
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @minyoungjeong0812 on GitHub (Feb 6, 2024).
Hi, I am following your made-with-ML tutorial and currently at the experiment tracking step. When I ran the following code after specifying a run config based on ML flow callbacks, I am getting Getting TypeError: init() takes 2 positional arguments but 4 were given . Could you please help?
@bvahdat commented on GitHub (Mar 17, 2024):
Hi @minyoungjeong0812
I ran into the same error which seems to be a bug in ray release
2.7.0being fixed in2.7.1:https://github.com/ray-project/ray/releases/tag/ray-2.7.1
I just upgraded to the version
2.7.1here and got it properly working after updating the dependencies.@NikhilK-crypto commented on GitHub (Jul 31, 2024):
Hi, I'm still experiencing the same issue even after updating Ray to versions
2.7.1and2.7.2. I currently have setuptools version69.5.1installed.@minyoungjeong0812 @bvahdat Any assistance would be greatly appreciated. Thank you!