courses icon indicating copy to clipboard operation
courses copied to clipboard

Jupyter Notebook server doesn't start

Open rajaboja opened this issue 2 years ago • 0 comments

Description

After creating the environment as detailed here starting the Jupyter server is throwing an error.

How to Reproduce

  1. Create the environment as described here. (Foundations of Private Computation course, Lesson 1, Duet Exercises: Setup)

  2. 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

Screenshot from 2022-08-22 21-43-50

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.

rajaboja avatar Aug 22 '22 16:08 rajaboja