설치
PyPI에서 설치
pip install dbx-py
소스에서 빌드
git clone https://github.com/bytelogiccore-spec/DBX.git
cd DBX/lang/python
pip install maturin
maturin develop --release
요구사항
- Python: 3.8 이상
- 플랫폼: Windows x64 (현재 테스트 완료)
- Linux x64: 계획됨
- macOS (Intel/Apple Silicon): 계획됨
설치 확인
import dbx_py
print(dbx_py.__version__) # 0.0.6-beta
가상 환경 (권장)
# venv 생성
python -m venv venv
# 활성화 (Windows)
venv\Scripts\activate
# 활성화 (Linux/macOS)
source venv/bin/activate
# dbx-py 설치
pip install dbx-py
문제 해결
ImportError: DLL load failed
원인: Visual C++ Redistributable 누락
해결:
- Microsoft Visual C++ Redistributable 다운로드
- 설치 후 Python 재시작
pip install 실패
# pip 업그레이드
python -m pip install --upgrade pip
# 재시도
pip install dbx-py
특정 버전 설치
# 최신 베타
pip install dbx-py --pre
# 특정 버전
pip install dbx-py==0.0.6-beta