No module named `poetry.core` on Py3.9.0b1
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: Ubuntu 20.04
- Poetry version: 1.1.0a1
- Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
I’ve installed Py3.9.0b1 through pyenv (listed as 3.9-dev
) and am attempting to use poetry. Using Poetry 1.0.5, I receive:
Traceback (most recent call last):
File "/home/joe/.poetry/bin/poetry", line 12, in <module>
from poetry.console import main
File "/home/joe/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
from .application import Application
File "/home/joe/.poetry/lib/poetry/console/application.py", line 1, in <module>
from cleo import Application as BaseApplication
ModuleNotFoundError: No module named 'cleo'
…so I reinstalled from get-poetry.py asking for the preview version. This gives:
Traceback (most recent call last):
File "/home/joe/.poetry/bin/poetry", line 16, in <module>
from poetry.console import main
File "/home/joe/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
from .application import Application
File "/home/joe/.poetry/lib/poetry/console/application.py", line 5, in <module>
from .commands.about import AboutCommand
File "/home/joe/.poetry/lib/poetry/console/commands/__init__.py", line 4, in <module>
from .check import CheckCommand
File "/home/joe/.poetry/lib/poetry/console/commands/check.py", line 1, in <module>
from poetry.factory import Factory
File "/home/joe/.poetry/lib/poetry/factory.py", line 9, in <module>
from poetry.core.factory import Factory as BaseFactory
ModuleNotFoundError: No module named 'poetry.core'
…on every call to Poetry.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (7 by maintainers)
Top Results From Across the Web
No module named` after poetry install for package - Stack ...
The issue is that the package is not installed after running poetry install . % poetry install Installing dependencies from lock file Package ......
Read more >ModuleNotFoundError: No module named 'poetry-core'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'poetry-core' How to remove the Module.
Read more >poetry-core - PyPI
A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing...
Read more >py3-poetry-core - Alpine Linux packages
Package, py3-poetry-core. Version, 1.3.2-r1. Description, PEP 517 build backend implementation for Poetry.
Read more >python-poetry-core-git - AUR (en) - Arch Linux
tests/conftest.py:9: in <module> import virtualenv E ModuleNotFoundError: No module named 'virtualenv' ==> ERROR: A failure occurred in check(). Aborting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I experienced the same issue when upgrading from 1.0.5 using the
poetry self update
command.what solved it for me was:
Please try using pipx to install poetry. Honestly, I just don’t understand why everyone tries to use weird scripts rather than bog standard tools.