question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation failed (poetry 0.12.17, Linux Mint 19.2)

See original GitHub issue
  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Linux Mint 19.2

  • Poetry version: 0.12.17

Issue

I failed to install poetry with Python 3.8 and found a relevant issue. I uninstalled it. I then tried to install poetry with Python 3.6, but I get the same kind of error: ModuleNotFoundError: No module named 'cleo'

I was conviced during last PyConFr to use poetry which seems great. So I want to install it.

Here is what happened:

 vincent  vincent-port  ~  $  python3.8 get-poetry.py --uninstall
# We are sorry to see you go!

This will uninstall Poetry.

It will remove the `poetry` command from Poetry's bin directory, located at:

$HOME/.poetry/bin

This will also remove Poetry from your system's PATH.


Are you sure you want to uninstall Poetry? (y/[n]) y

 vincent  vincent-port  ~  $  curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python3.6
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

$HOME/.poetry/bin

This path will then be added to your `PATH` environment variable by
modifying the profile files located at:

$HOME/.profile
$HOME/.bash_profile

You can uninstall at any time with `poetry self:uninstall`,
or by executing this script with the --uninstall option,
and these changes will be reverted.

Installing version: 0.12.17
  - Downloading poetry-0.12.17-linux.tar.gz (8.37MB)

Poetry (0.12.17) is installed now. Great!

To get started you need Poetry's bin directory ($HOME/.poetry/bin) in your `PATH`
environment variable. Next time you log in this will be done
automatically.

To configure your current shell run `source $HOME/.poetry/env`

 vincent  vincent-port  ~  $  source $HOME/.poetry/env
 vincent  vincent-port  ~  $  poetry completions bash -vvv
Traceback (most recent call last):
  File "/home/vincent/.poetry/bin/poetry", line 12, in <module>
    from poetry.console import main
  File "/home/vincent/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/home/vincent/.poetry/lib/poetry/console/application.py", line 6, in <module>
    from cleo import Application as BaseApplication
ModuleNotFoundError: No module named 'cleo'

Thanks for your attention and for this project.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vpoulailleaucommented, Nov 11, 2019

@xyzst @sdispater Thanks, it works with the beta version.

1reaction
xyzstcommented, Nov 6, 2019

I ran into a similar issue with poetry 0.12.17 installation on macOS Mojave with Python 3.8.0. I resolved it by following these instructions:

  1. Remove the $HOME/.poetry directory
  2. Re-install poetry with POETRY_PREVIEW enabled $ curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_PREVIEW=1 python

Thanks @sdispater as well as this comment on another issue https://github.com/sdispater/poetry/issues/553#issuecomment-548446831

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Install Python Poetry On Linux Mint - SoftHints
1. Overview In this short tutorial, we will cover how to install Poetry on Linux Mint or Ubuntu. Poetry is a dependency management...
Read more >
Compare Packages Between Distributions - DistroWatch.com
Complete summaries of the Gentoo Linux and Devuan GNU+Linux projects are available. Note: In case where multiple versions of a package are shipped...
Read more >
Poetry installation fails on Ubuntu - command line
Poetry installation fails on Ubuntu · 1. you add PATH=$PATH:~/poetry/bin to path, but the path is ~/.poetry/bin ! – pLumo. Dec 2, 2021...
Read more >
Index of /Manjaro/stable/community/x86_64
python-poetry-plugin-export-1.2.0-1-any.pkg.tar..> 2022-12-03 17:17 566 [ ] ... nodejs-19.2.0-1-x86_64.pkg.tar.zst.sig 2022-11-30 22:55 566 [ ] ...
Read more >
Projects list - Repology
libgpg-error∗, 1.45, 50, 1.46 25, 1.45 16 1.44 4 1.43 4 1.42 11 1.41 6 1.39 4 1.38 1.37 6 1.36 12 1.35.3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found