Error occurring during the execution of an example program on Apple M2 max
还没有人认领这个 Issue。
评估
- 难度
- 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 内容生成。
描述
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
- Excute
pip3 install python-dp - Go to '.' (root directory)
- Copy the code in README.md (the above code)
- 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
- 派生
- 143
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenMined/PyDP 的其他 Issue
-
Type: New Feature :heavy_plus_sign:
难度 4/5 3-5 天 新手友好度 45/100
-
Type: Question :grey_question:
难度 3/5 1-2 天 新手友好度 25/100
-
Type: Improvement :chart_with_upwards_trend:
难度 3/5 1-2 天 新手友好度 35/100
-
Type: New Feature :heavy_plus_sign:
难度 3/5 1-2 天 新手友好度 38/100
-
Status: Blocked :heavy_multiplication_x: Type: New Feature :heavy_plus_sign:
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
correction metadata
难度 2/5 1-3 小时 新手友好度 68/100
acl-org/acl-anthology#10104 · 1 条评论 ·
维护者通常 1 天内回复
-
bug status/needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
prowler-cloud/prowler#12885 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed variance未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 88/100
selimfirat/pysad#107 ·
维护者通常 1 天内回复
-
bug ci-failure high priority
难度 1/5 1 小时以内 新手友好度 88/100
vllm-project/vllm-omni#8194 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复