Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

ImportError: cannot import name 'CleoException' #853

Closed
reahari opened this issue Feb 16, 2023 · 1 comment
Closed

ImportError: cannot import name 'CleoException' #853

reahari opened this issue Feb 16, 2023 · 1 comment

Comments

@reahari
Copy link
Contributor

reahari commented Feb 16, 2023

Trying to run poetry run python updater.py or python updater.py returns the following error

Traceback (most recent call last):
  File "/home/$USER/.local/bin/poetry", line 5, in <module>
    from poetry.console.application import main
  File "/home/$USER/.local/lib/python3.10/site-packages/poetry/console/application.py", line 15, in <module>
    from cleo.exceptions import CleoException
ImportError: cannot import name 'CleoException' from 'cleo.exceptions' (/home/$USER/.local/lib/python3.10/site-packages/cleo/exceptions/__init__.py)

Using Ubuntu 22.04

@DIGITALCRIMINAL
Copy link
Owner

Best to refer here

python-poetry/poetry#3345

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

No branches or pull requests

2 participants