It fails with
Up to this point, it seems all ok, and i do not think my previous excercises has something to do with this error.
Please help me.
It fails with
Up to this point, it seems all ok, and i do not think my previous excercises has something to do with this error.
Please help me.
The grader also now complains with "Test 1 failed: PythonDeprecationWarning: Boto3 will no longer support Python 3.7 starting December 13, 2023. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.8 or later. More information can be found here: Python support policy updates for AWS SDKs and Tools | AWS Developer Tools Blog warnings.warn(warning, PythonDeprecationWarning) 1 Please try again.
".
Have the same problem. I restard the Lab. Everything work fine but when I uploaded notebook by executing last cell in notebook and click “submit” I get grades 0/100… I inspect the S3 bucket where the uploaded two .ipynb files supouse to be, download them go through them and it seems that everything is fine (it’s not due to the failure during upload). The exercise go well to the end so I really doubt that I done eveyrthing wrong and despite it is working fine as it supouse to I really need to help on that as I can’t finish course
I have the same problem too. We need to upgrade to python 3.8
Can you share more how to do it from notebook in SageMaker or there is another way to do it. Under Change Kernel I have “Kernel: Python 3”
May be helpfull: https://www.youtube.com/watch?v=oVUA1yUtme0. Right now I go trught “Change Kernel” and by default there was python 3.10 but I need to change and change it back. By default it should run 3.10 from begining but somhow it ws running on python 3.7…
I think we shouldn’t run the first cell. Without the begining cell it is running without any problem. But I didn’t finished it yet
It is not working again
did you made to solve the problem? I tried different times and finally I’ve reached my endpoints limit and now I can do nothing.
Dependengly what you ask exactly about. I was able to execute all of the notebook cells with no problems (minor warning) but at the end I stack with grader returning 0/100. I tried different kernels options or even setting virtual enviorment on my own on SageMaker but the final result was the same. Grader not workin properly. You need to write to technical support to reset your labs if you run out od credits $. Hopefully tomorrow maybe somebody will read this from technical support
I am not a mentor for this course.
The issue has been reported to the course staff.
Thank you! Keep us posted @TMosh!
Since it is a weekend, I do not expect any updates from staff today.
That is to be expected I hope they are all enjoying their weekend!
When i run 3.10 (default py version in the default studio kernel) i get;
‘’’
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
/bin/sh: 1: pkg-config: not found
Failed to find sentencepiece pkgconfig
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
‘’’
Maybe a mentor for this course will stop by with assistance.
If i run Data Science 2.0, and change the initial import section to (removing versions except for torch), the notebook runs well.
# please ignore warning messages during the installation
!pip install --disable-pip-version-check -q sagemaker
!conda install -q -y pytorch==1.6.0 -c pytorch
!pip install --disable-pip-version-check -q transformers
!pip install -q protobuf
But as the grader probably uses boto3 to get files from the S3 bucket, and said grader uses an older version of Python, it fails as the later version of boto3 deprecated Pyton 3.7X.Y
Test 2 failed: PythonDeprecationWarning: Boto3 will no longer support Python 3.7 starting December 13, 2023. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.8 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/ warnings.warn(warning, PythonDeprecationWarning) 1 Please try again.
Suppose hardcoding the version of boto3 to something older would work.
I would appreciate a reset of my AWS time/credit when this is resolved.
I need also a reset in my AWS.
@Kanan_Sehat, sorry but I do not know what that means.
I am not a mentor for this course.
Please follow this thread for information from DLAI.
https://community.deeplearning.ai/t/pds-deprecation-errors/517520