courses
courses copied to clipboard
Jupyter Notebook server doesn't start
Description
After creating the environment as detailed here starting the Jupyter server is throwing an error.
How to Reproduce
-
Create the environment as described here. (Foundations of Private Computation course, Lesson 1, Duet Exercises: Setup)
-
On running
jupyter notebook
below error is encountered.ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/rajesh/Documents/openmined/syft-env/lib/python3.8/site-packages/markupsafe/__init__.py)
Expected Behavior
We should be able to start the Jupyter server on running jupyter notebook
Screenshots
System Information
- OS: Linux
- OS Version: Ubuntu 20.10
- Language Version: Python 3.8
- Package Manager Version: venv
Additional Context
It's caused because the latest releases of markupsafe
have removed soft_unicode
. Downgrading this library to 2.0.1
solves the issue.