Skip to content

Jupyter Notebook server doesn't start #428

@rajaboja

Description

@rajaboja

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug 🐛Some functionality not working in the codebase as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions