'I am getting no module name cleo when trying to do "poetry add"
I have completely uninstalled and re installed poetry using: POETRY_UNINSTALL=1 bash -c 'curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python'
then I re installed it using: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
but it did not fix the issue. and then I # for poetry config export PATH="$HOME/.poetry/bin:$PATH"
Solution 1:[1]
poetry self update 1.0.10 then poetry install.
As mentioned here. Two separate errors, both caused by poetry version.
Solution 2:[2]
You just need to re-install poetry
# install
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
# update
poetry self update
# uninstall
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - --uninstall
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jahantaila |
| Solution 2 |
