-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"ValueError: too many values to unpack (expected 2)" is occurred in windows local mode #847
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
Comments
Hi @xnaiman , We currently don't support Local mode for windows instances. This feature is already included in our roadmap. Sorry for any inconvenience about that. |
Where can I see the roadmap(plan) ? |
Unfortunately, the roadmap is not public available yet, @xnaiman . |
Hi, |
ValueError is a standard Exception raised by various methods that perform range-checking of some kind to signal that a value provided to the method fell outside the valid range. Python functions can return multiple variables . These variables can be stored in variables directly. This is a unique property of Python , other programming languages such as C++ or Java do not support this by default. The valueerror: too many values to unpack occurs during a multiple-assignment where you either don't have enough objects to assign to the variables or you have more objects to assign than variables. |
#1125 has been merged. Resolving the issue. |
System Information
Describe the problem
When I execute
fit
method in local mode on windows, "ValueError: too many values to unpack (expected 2)" is occurred.Cause
I already know that the cause is the difference between windows and linux drive description. Therefore, I specify the cause.
The following code is provided for
sagemaker-python-sdk/src/sagemaker/local/image.py
.When this code is executed on windows, if
volume
is as follows.The retun value is three and is as follows.
Thus, if
platform.system ()
isWindows
, three return values should be assumed.Minimal repro / logs
The text was updated successfully, but these errors were encountered: