Correct way to install python libraries using requirements file
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
Issue に示されている Dockerfile と requirements.txt のインストールコマンドから始め、Odoo 18 イメージで externally-managed-environment エラーを再現します。依存関係のインストールでサポートされているアプローチを比較し、選択したアプローチが報告されたエラーなしで正常にビルドできることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Hello everyone, When working with the new version of Odoo 18 I checked that the docker file was modified based on the image with which it is working. This led to my old lines to add python libraries no longer working due to an error that says the following
error: externally-managed-environment
# Copy and install python dependencies
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt# Copy and install python dependencies
Previously they used to use these lines to achieve this. Does anyone know what is the best way to continue using a requirements file and be able to install the python libraries?
I found that using the following line I can skip the restriction but do you think it is correct or what is the best way to manage the libraries?
RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
- 主要言語
- Dockerfile
- スター
- 1.2k
- フォーク
- 1.7k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
odoo/docker のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
Missing PyJWT ?オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dongdongbh/Mindwtr#1584 ·
メンテナーはふだん 1 日以内に返信
-
CI: when a board part's times cannot be recorded, the time budget check passes instead of failingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
WenyuChiou/agent-board#1720 ·
メンテナーはふだん 1 日以内に返信