OpenMined / courses

A place where our community can discuss OpenMined Courses, including posting questions, sharing feedback, or providing comments for discussion!
http://courses.openmined.org
167 stars 74 forks source link

Jupyter Notebook server doesn't start #428

Open rajaboja opened 1 year ago

rajaboja commented 1 year ago

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

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.