I have a developer trying to deploy first Jupyter Notebook to our RStudio Connect environment. He receives this error, and the deployment fails:
Building Jupyter notebook...
Bundle requested Python version 3.6.3; using /opt/rh/rh-python36/root/usr/bin/python3.6 which has version 3.6.3
2019/08/09 14:50:24.898609273 Running with python "3.6.3 (default, Apr 10 2019, 14:37:36) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]" at /opt/rh/rh-python36/root/usr/bin/python3.6
2019/08/09 14:50:24.901802350 Running as user: rstudio-connect
2019/08/09 14:50:24.915012802 Skipped packages: pywinpty==0.5.5,wincertstore==0.2
2019/08/09 14:50:24.915060105 Unexpected error while building python environment: Unicode-objects must be encoded before hashing
Build error: exit status 255
The notebook is very simple ; n=1. Tried printing 'hello world' instead and got same result.
Connect config file contains:
[Python]
Enabled = true
Executable = /opt/rh/python27/root/bin/python2
Executable = /opt/rh/rh-python36/root/bin/python3
The Python install includes:
rh-python36-runtime-2.0-1.el7.x86_64
rh-python36-python-virtualenv-15.1.0-2.el7.noarch
rh-python36-python-3.6.3-7.el7.x86_64
rh-python36-python-devel-3.6.3-7.el7.x86_64
rh-python36-python-setuptools-36.5.0-1.el7.noarch
rh-python36-python-libs-3.6.3-7.el7.x86_64
rh-python36-2.0-1.el7.x86_64
rh-python36-python-pip-9.0.1-2.el7.noarch
Is something missing?