Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebook server doesn't start #428

Open
rajaboja opened this issue Aug 22, 2022 · 0 comments
Open

Jupyter Notebook server doesn't start #428

rajaboja opened this issue Aug 22, 2022 · 0 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@rajaboja
Copy link

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 rajaboja added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

1 participant