etiennedub / pyk4a

Python 3 wrapper for Azure-Kinect-Sensor-SDK
MIT License
287 stars 81 forks source link

specify the path for my k4a.dll #222

Closed TitansWhale closed 7 months ago

TitansWhale commented 8 months ago

I want to integrate the SDK into my software. How should I specify the path for my k4a.dll?

TitansWhale commented 7 months ago
import os
from pathlib import Path

# 指定lib目录为dll目录
os.environ['K4A_DLL_DIR'] = str(Path('lib').absolute())

import pyk4a