How do I set config variables on a Mac?

asked 2021-03-01 02:42:01 +0100

barry3p141 gravatar image

updated 2021-03-01 11:27:14 +0100

slelievre gravatar image

I am using SageMath Jupyter notebooks with Mac OS 11.2.2. I wrote:

import pickle
rfile = open('/Users/barrybrent/test31jan21no22.txt','r')
rs = pickle.load(rfile)
rfile.close()
s = stripQuotationMarks(rs)
print(s)
print(len(s))
for k in [0 .. 3]:
    print("")
    print(s[k][1])

Jupyter answered:

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

I'm a Terminal amateur, but I tried various suggestions on the web involving language with the word Jupyter in it, and Terminal answers with variations on 'zsh: no such file or directory'.

Any other suggestions?

edit retag flag offensive close merge delete

Comments

Can you provide an example of the file test31...txt, or describe how you created it, so we can test this ourselves?

John Palmieri gravatar imageJohn Palmieri ( 2021-03-02 01:47:35 +0100 )edit