Python data model generation instructions don't work anymore in Ubuntu 24.04
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, ubuntu
- Domain
- documentation, operating-systems
Research direction
Locate the Python data model generation instructions referenced by the issue and reproduce the pip failure on Ubuntu 24.04. Update the instructions with a supported installation approach, then verify that a newcomer can install datamodel-code-generator and complete the documented generation workflow.
Written by the indexing model from the issue text.
Description
Building on Noble beta / Rolling, Python / pip became a lot more conservative and the following error is returned when trying to install datamodel-code-generator:
$ pip3 install datamodel-code-generator
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Passing --break-system-packages works but there is probably a reason this was upgraded to an error, I haven't tried using pipx yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from open-rmf/rmf_api_msgs
-
Write the `status` / `issues` / `commission` boundary into `robot_state.json` descriptionsMay be free again @mxgrey claimed this 82 days ago, and no pull request is open. Open
open-rmf/rmf_api_msgs#65 · 1 assignee ·
-
Update CI to also build downstream projectsMay be free again @Yadunund claimed this 1269 days ago, and no pull request is open. Openenhancement
open-rmf/rmf_api_msgs#37 · 1 assignee ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
open-rmf/rmf_api_msgs#32 ·
-
Create some tests and CI workflowMay be free again @koonpeng claimed this 1526 days ago, and no pull request is open. Openenhancement
open-rmf/rmf_api_msgs#29 · 2 assignees ·
-
Schema for recurring tasksMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
open-rmf/rmf_api_msgs#16 ·
All issues in open-rmf/rmf_api_msgs
Similar issues
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiPossibly taken @arvindkumar-ship-it claimed this today. Openllm translation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
BerriAI/litellm#51871 · 1 comment ·
Maintainers usually reply within 1 day
-
comp-formats
Difficulty 2/5 Half a day Newbie friendliness 64/100
ClickHouse/ClickHouse#131694 ·
Maintainers usually reply within 1 day
-
cli: `execCargoMetadata` decodes stdout per chunk, corrupting non-ASCII paths across pipe boundariesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
C-Bug S-Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy#26558 ·
Maintainers usually reply within 2 days