Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

PyDP does not work in the Docker container

オープン
#366 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, python

調査の方向性

Start with Dockerfile and reproduce the failure using the shown docker build and docker run commands. Inspect why make test expects dist/python_dp-1.0.3-cp39-cp39-linux_x86_64.whl, then verify completion with make test and a successful import pydp inside the container.

索引モデルが issue の本文から書いたものです。

説明

Type: Bug :bug:

Description

Importing pydp fails inside containers running image built from Dockerfile.

How to Reproduce

Build the image and run the container:

docker build -t pydp:test .
docker run -it pydp:test

Result of make test inside the container:

  ValueError

  Directory dist/python_dp-1.0.3-cp39-cp39-linux_x86_64.whl does not exist

You can also run python inside the container and try this import:

>>> import pydp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/PyDP/.venv/lib/python3.9/site-packages/pydp/__init__.py", line 5, in <module>
    from pydp import algorithms
  File "/root/PyDP/.venv/lib/python3.9/site-packages/pydp/algorithms/__init__.py", line 2, in <module>
    from . import laplacian
  File "/root/PyDP/.venv/lib/python3.9/site-packages/pydp/algorithms/laplacian/__init__.py", line 2, in <module>
    from ._bounded_algorithms import BoundedMean
  File "/root/PyDP/.venv/lib/python3.9/site-packages/pydp/algorithms/laplacian/_bounded_algorithms.py", line 2, in <module>
    from .._algorithm import BoundedAlgorithm
  File "/root/PyDP/.venv/lib/python3.9/site-packages/pydp/algorithms/_algorithm.py", line 7, in <module>
    from .._pydp import _algorithms
ModuleNotFoundError: No module named 'pydp._pydp'

System Information

  • OS: Ubuntu
  • OS Version: 20.04
  • Language Version: (default 3.9 from Dockerfile)
主要言語
Python
スター
550
フォーク
143
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenMined/PyDP のほかの issue

OpenMined/PyDP の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。