Error occurring during the execution of an example program on Apple M2 max
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 550
- Fork
- 143
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenMined/PyDP
-
Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Type: Question :grey_question:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Type: Improvement :chart_with_upwards_trend:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Type: New Feature :heavy_plus_sign:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
Support for M1 Mac?ApertaStatus: Blocked :heavy_multiplication_x: Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di OpenMined/PyDP
Issue simili
-
correction metadata
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
acl-org/acl-anthology#10104 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug status/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
prowler-cloud/prowler#12885 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed varianceApertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
selimfirat/pysad#107 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ci-failure high priority
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vllm-project/vllm-omni#8194 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno