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

AssignmentML4.ipynb not compatible with Python 3.9 which is the only one available on Watson #195

Closed
Hasnael07 opened this issue Apr 28, 2022 · 5 comments

Comments

@Hasnael07
Copy link

@romeokienzler week 4 assignment of the Advanced machine learning and signal processing course on Coursera needs some updates. Many students and I are stuck on it and can't validate the course because of it. It seems that the provided systemml version is not compatible with Python 3.9, but works only until Python 3.8, which for some reason can't be selected in Watson studio as it always says "Notebook environments with Python 3.8 are restricted to notebooks that are already using them. Choose an environment with Python 3.9 instead."
Here are the available versions (the notebook doesn't work with the option Default Python 3.8 + Watson NLP (beta)):
image
The error occurs in cell 6 when calling MLContext(spark). This is the error: TypeError: 'JavaPackage' object is not callable

Thank you.

@GhostOfGreg
Copy link

@romeokienzler same problem here, please update the assignment, so it runs on the new Watson Studio environment without giving errors just because of out-dated libraries / environments / packages. Thank you!

@romeokienzler
Copy link
Member

Someone is assigned to take care of it...

@romeokienzler
Copy link
Member

@GhostOfGreg can u pse try again by re-importing the latest version? should be fixed now..

@GhostOfGreg
Copy link

@romeokienzler thank you for the follow-up, I did try it and manage to complete the exercise. Small note: the notebook still had error on python 3.9 xxs environment (1 vCPU) but was working already on the xs environment (2 vCPU).

@romeokienzler
Copy link
Member

Thanks so much for the update @GhostOfGreg will include a note on this!

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

3 participants