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.

Fresh install broken in Py 3.8 docker

See original GitHub issue

Maybe related to #553

> docker run -it --rm python:3.8.0b4-buster /bin/sh
# curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
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 file located at:

$HOME/.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`

# $HOME/.poetry/bin/poetry
Traceback (most recent call last):
  File "/root/.poetry/bin/poetry", line 12, in <module>
    from poetry.console import main
  File "/root/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/root/.poetry/lib/poetry/console/application.py", line 6, in <module>
    from cleo import Application as BaseApplication
ModuleNotFoundError: No module named 'cleo'
#

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

27reactions
sdispatercommented, Oct 17, 2019

The full 0.12.17 release (with bundled dependencies) does not support Python 3.8 since the dependencies for it have not been bundled.

For Python 3.8, you might want to install Poetry with pip or try the latest 1.0.0b2 version.

I will see if I can make a 0.12.18 release, or even update the archives of the 0.12.17 with support for Python 3.8.

I will keep you updated.

6reactions
deepiocommented, Oct 11, 2019

I think we can close this issue now. PR was accepted https://github.com/sdispater/poetry/pull/1437

Update: I still get the same error after the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with the installation of Python 3.8 with docker file
In many suggestions I have found the using the apt-get update command should solve the problem however that is not working for me....
Read more >
Broken by default: why you should avoid most Dockerfile ...
Solution: Use python:3.7.3-stretch as the base image, to pin the version and OS. Or, python:3.7-stretch if you're feeling ...
Read more >
Python Error reported by docker using pip to install ...
my dockerfile is write: FROM python:3.6. ADD . /code. WORKDIR /code. RUN pip install -r requirements.txt. CMD scrapy crawl country.
Read more >
-bash: python: command not found error and solution - nixCraft
This error means Python is either not installed or your installation damaged including wrong $PATH settings.. Here is how you can solve this ......
Read more >
Installing Python 3.8.3 on Ubuntu 16.04, change the default ...
Installing Python 3.8.3 on Ubuntu 16.04, change the default version of python to the new version, and why is my terminal not working....
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