Forum Stats

  • 3,726,727 Users
  • 2,245,248 Discussions
  • 7,852,377 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

OML4Py - any python script hung on Always Free Cloud Notebook

YuriAP
YuriAP Member Posts: 26 Blue Ribbon

If I run any "%python" in any of my Always Free Cloud Notebooks it at first hung on status "Running 0%" then after some time status changes to "Error" and below the paragraph, the following is printed

"Python processing runs out of compute resources. Please select a higher service name in the interpreter binding, and run the notebook again."

For example, I tried this notebook: https://github.com/oracle/oracle-db-examples/blob/master/machine-learning/labs/oml4py-live-labs/Lab%200_%20Run%20Me%20First%20-%20OML4Py%20table%20creation%20and%20grants.json

from https://github.com/oracle/oracle-db-examples/tree/master/machine-learning/labs/oml4py-live-labs


Why does not it work?

Best Answer

Answers

  • YuriAP
    YuriAP Member Posts: 26 Blue Ribbon
    Accepted Answer

    Great thanks to Mark Hornick!

    So, OML4Py works so far on 19c Autonomous databases only, 21c will support it soon.

  • Hemant K Chitale
    Hemant K Chitale Member Posts: 15,753 Blue Diamond

    I recreated my database as a 19c Autonomous Database. I still get the

    "Python processing runs out of compute resources. Please select a higher service name in the interpreter binding, and run the notebook again." error

    on something as simple as

    %python

    1+1

  • YuriAP
    YuriAP Member Posts: 26 Blue Ribbon

    Hi Hemant,


    Thank you for the advice!

    Nothing with %python worked, even "1+1", even print("hello world") no matter what was the binding to services.

    I used 21c ADW, and as it appeared, it does not support %python so far.

    when I recreated the ADW with 19c version, all worked just perfectly.

Sign In or Register to comment.