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.

Poetry 1.1.12: Missing 3.10 _vendor folder

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: macOS Monterey 12.0.1
  • Poetry version: 1.1.12
  • Link of a Gist with the contents of your pyproject.toml file: N/A

Issue

The release for 1.1.12 darwin found here is missing the 3.10 _vendor folder. 1.1.11 had this folder.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
IceN9necommented, Dec 8, 2021

After some testing, this seems to only affect poetry when installed with get-poetry.py. If installed with this manor (still the method in the docs at this moment), when you attempt to run poetry with 3.10 as the active python, it’ll fail with:

ModuleNotFoundError: No module named 'cleo'

Since there’s no _vendor directory for 3.10, it doesn’t have the necessary modules to run. I’ve had issues getting install-poetry.py to work in the past, so I was waiting for 1.2 to release before making the switch, however I just uninstalled poetry and reinstalled with the newer:

curl -sSL https://install.python-poetry.org | python3 -

And after installing this way, everything works fine. I uninstalled and went back to the get-poetry.py and confirmed that it broke again. Looks like the workaround is to use install-poetry.py

5reactions
BD103commented, Dec 23, 2021

I found a temporary solution for Windows users. I have both Python 3.9 and 3.10 on my computer. I opened up C:\Users\myuser\.poetry\bin\poetry.bat and edited the file to be:

@echo off

py -3.9 "%USERPROFILE%\.poetry\bin\poetry" %*

I hope this helps someone else. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

History | Poetry - Python dependency management and ...
Introduce a top level -C, --directory option to set the working path (#6810) ... Add missing path segment to paths used by install.python-poetry.org...
Read more >
How to solve Python poetry dependency error
When trying to install the Python dependencies with Poetry, I've the following error: $ poetry install The currently activated Python ...
Read more >
Poetry - blog-stoege-net
Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and...
Read more >
Tree - rpms/poetry
Poetry helps you declare, manage and install dependencies of Python ... runtime environment rather than a mocked local directory.
Read more >
homebrew-core
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
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