Skip to content Skip to sidebar Skip to footer

Paperboy Throwing Error: TypeError: The JSON Object Must Be Str, Not 'bytes'?

I have installed paperboy using steps given at https://github.com/timkpaine/paperboy.git and executed using python3 -m paperboy while uploading notebook from UI when click on th

Solution 1:

Use a master branch to install paperboy https://github.com/timkpaine/paperboy.git

git clone https://github.com/timkpaine/paperboy.git
cd paperboy
conda create --name python3.7 python=3.7
conda activate python3.7
npm install
npm run build
pip install -e .

then open

paperboy/server/deploy_nix.py

change line number 2 with

from six import iteritems #from gunicorn.six import iteritems

then run

python -m paperboy

Post a Comment for "Paperboy Throwing Error: TypeError: The JSON Object Must Be Str, Not 'bytes'?"