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

Bug: Could not load 'init': cannot import name 'soft_unicode' from 'markupsafe' #414

Open
getorca opened this issue Apr 1, 2022 · 2 comments

Comments

@getorca
Copy link

getorca commented Apr 1, 2022

when running bonobo init tutorial.py I get the following error:

ERR.:0000:stevedore.extension: Could not load 'init': cannot import name 'soft_unicode' from 'markupsafe' ([...]/venv/lib/python3.8/site-packages/markupsafe/__init__.py)
usage: bonobo [-h] [--debug]
              {convert,download,examples,inspect,run,version} ...
bonobo: error: argument command: invalid choice: 'init' (choose from 'convert', 'download', 'examples', 'inspect', 'run', 'version')

Related to MarkupSafe==2.1.1. Downgrading to pip install MarkupSafe==2.0.1 works as expected.

Versions

  • Bonobo version: bonobo v.0.6.4

  • Python version: Python 3.8.10

  • Platform: Ubuntu 20.04.4 LTS

I'm very new to bonobo so I haven't dug in yet to see if this should be fixed with a pull request and patch on the code base, or specifying a maximum version in requirements?

@yuhonas
Copy link

yuhonas commented Apr 30, 2022

I ran into exactly the same issue and did a little bit of digging around

This is about as far as i've gotten so far but hopefully it's enough to keep this moving!

Versions

  • Python 3.9.2
  • Bono v.0.6.4

@Alquh
Copy link

Alquh commented Jun 16, 2022

I am also getting the same error. Any assistance or path forward would be greatly appreciated. I also posted about it on SO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants