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

Error occurring during the execution of an example program on Apple M2 max

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
build-system

調査の方向性

Start by reproducing the README.md example after pip3 install python-dp on the stated Apple M2 Max and inspect the import from pydp/init.py and the packaged pydp.so. Review build_PyDP.sh and its reported errors, then confirm that the installed package imports and the README example runs successfully on this platform.

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

説明

Type: Question :grey_question:

Description

When I execute the following program written in README.md,

import pydp as dp
from pydp.algorithms.laplacian import BoundedMean

x = BoundedMean(0.6, 1, 10)

x = BoundedMean(0.6)

x.quick_result(input_data)

I have the following error.

 File "/opt/homebrew/lib/python3.11/site-packages/pydp/__init__.py", line 1, in <module>
    from .pydp import *
ImportError: dlopen(/opt/homebrew/lib/python3.11/site-packages/pydp/pydp.so, 0x0002): tried: '/opt/homebrew/lib/python3.11/site-packages/pydp/pydp.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/python3.11/site-packages/pydp/pydp.so' (no such file), '/opt/homebrew/lib/python3.11/site-packages/pydp/pydp.so' (not a mach-o file)

How to Reproduce

  1. Excute pip3 install python-dp
  2. Go to '.' (root directory)
  3. Copy the code in README.md (the above code)
  4. Execute it

Expected Behavior

The code will execute without an error.

System Information

  • Processor: Apple M2 Max
  • OS: macOS Ventura 13.0
  • Language Version: Python 3.11.3
  • Package Manager Version: pip3

Additional Context

I tried these commands , but execution of 'build_PyDP.sh' generated errors.

主要言語
Python
スター
550
フォーク
142
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

OpenMined/PyDP のほかの issue

OpenMined/PyDP の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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