poetry error? #1

Closed
opened 2025-01-17 17:05:58 +00:00 by adam-rudd · 1 comment
adam-rudd commented 2025-01-17 17:05:58 +00:00 (Migrated from github.com)

Super python noob.

Running this in WSL ubuntu.
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.5 LTS on Windows 10 x86_64
.ossssssssssssssssssdMMMNysssso. Kernel: 5.15.153.1-microsoft-standard-WSL2

sudo poetry run ./kill_comments.py

  RuntimeError

  The Poetry configuration is invalid:
    - Additional properties are not allowed ('package-mode' was unexpected)


  at /usr/lib/python3/dist-packages/poetry/core/factory.py:43 in create_poetry
       39│             message = ""
       40│             for error in check_result["errors"]:
       41│                 message += "  - {}\n".format(error)
       42│
    →  43│             raise RuntimeError("The Poetry configuration is invalid:\n" + message)
       44│
       45│         # Load package
       46│         name = local_config["name"]
       47│         version = local_config["version"]
Super python noob. Running this in WSL ubuntu. -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.5 LTS on Windows 10 x86_64 .ossssssssssssssssssdMMMNysssso. Kernel: 5.15.153.1-microsoft-standard-WSL2 ``` sudo poetry run ./kill_comments.py RuntimeError The Poetry configuration is invalid: - Additional properties are not allowed ('package-mode' was unexpected) at /usr/lib/python3/dist-packages/poetry/core/factory.py:43 in create_poetry 39│ message = "" 40│ for error in check_result["errors"]: 41│ message += " - {}\n".format(error) 42│ → 43│ raise RuntimeError("The Poetry configuration is invalid:\n" + message) 44│ 45│ # Load package 46│ name = local_config["name"] 47│ version = local_config["version"] ```
adam-rudd commented 2025-01-17 17:11:17 +00:00 (Migrated from github.com)

nevermind... it's running! Skipped the poetry thing and jumped straight to python

sudo poetry run ./kill_comments.py > python kill_comments.py

nevermind... it's running! Skipped the poetry thing and jumped straight to python `sudo poetry run ./kill_comments.py` > `python kill_comments.py`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mbirth/reddit-cleaner#1
No description provided.