-vvv option).[tool.poetry]
name = "wear-zozo"
version = "0.1.0"
description = ""
authors = ["hrsma2i <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.6"
numpy = "^1.18"
tqdm = "^4.41"
aiohttp = "^3.6"
asyncio = "^3.4"
Pillow = "^6.2"
jupyter = "^1.0"
mypy = "^0.761.0"
black = {version = "^18.3-alpha.0", allows-prereleases = true}
aiodl = {git = "[email protected]:hrsma2i/aiodl.git@04d916dcf2ac552827e3e8781e2d81301f0b9a1c"}[tool.poetry.dev-dependencies]
flake8 = "^3.7"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
poetry shell doesn't work throwing the following error.
Unexpected character: '[' at line 17 col 91
I solved this issue.
@hrsma2i How did you solve this issue? I am having a similar issue with python -m poetry add flask (and other packages besides flask).
@hrsma2i How did you solve this issue? I am having a similar issue with
python -m poetry add flask(and other packages besidesflask).
It appears if pyproject.toml does not end with a newline, this behavior happens.
I solved this issue.
It would be great if you shared HOW you solved this issue. I was still getting this error and it turns out that someone (probably me) had deleted a carriage return and one of my stanza headers had concatenated onto the previous line. I added the carriage return / newline back in and it fixed the problem.
Most helpful comment
It appears if
pyproject.tomldoes not end with a newline, this behavior happens.