Poetry add package show error "Unterminated string starting at: line 1 column 10228 (char 10227)" #8795
Unanswered
gabvillacis
asked this question in
Q&A
Replies: 2 comments 1 reply
-
At a guess it's a syntax error in your pyproject.toml. Try running poetry check. If you attach it, only as text. |
Beta Was this translation helpful? Give feedback.
1 reply
-
my guess is that it's something funky in your cache, try cleaning it out. poetry cache clear . --all I guess it could also be some funky http proxy requiring you to login? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Once I successfully initialize the Poetry project and attempt to add new packages, I encounter the following error:
"Unterminated string starting at: line 1 column 10228 (char 10227)"
This is my pyproject.toml:
[tool.poetry]
name = "prueba"
version = "0.1.0"
description = "bla"
authors = ["Cris"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
And this is the error:
My environment is: python 3.11.7 y poetry 1.7.1.
Can someone please help me?
Beta Was this translation helpful? Give feedback.
All reactions