Warning
pyedsdkcurrently only supports Windows.- You must download and install the Canon EDSDK separatly from Canon directly.
- For intellectual property and licensing reasons, the EDSDK dynamic libraries (
EDSDK.dll) are not distributed with this Python package.
Canon requires developers to request access to the SDK directly from them. Please visit the official Canon Developer website and obtain the EDSDK before using this module. This may take a few days before you can have access.
After downloading the SDK from Canon:
- Install or extract the SDK on your machine
- Locate the
EDSDK.dllassociated to your architecture (for Windows, either insideEDSDKorEDSDK_64folder). You can choose to paste it for instance in a new folder located atC:\Canon\EDSDK\Dll\EDSDK.dll.
Simply run in your terminal the following command with the path to the DLL:
setx EDSDK_PATH "C:\Canon\EDSDK\Dll\EDSDK.dll"And restart your terminal afterwards.
Add the directory containing EDSDK.dll to your Windows PATH environment variable.
Simply jump to the next part for the installation of the pyedsdk package, and when calling it, initialize the DLL with the following code:
from pyedsdk.core.loader import loadSDKLib
loadSDKLib(r"C:\Canon\EDSDK\Dll\EDSDK.dll")The safest and easiest way to install the latest version is via PyPI:
pip install pyedsdkThis package is an independent, unofficial Python binding for Canon EDSDK. Canon EDSDK is proprietary software owned by Canon Inc. This project:
- does not redistribute Canon binaries
- does not modify Canon SDK files
- requires users to agree to Canon's license separately
- is not affiliated with, endorsed by, or sponsored by Canon Inc.
Canon EDSDK remains the exclusive property of Canon Inc. Users are responsible for complying with Canon’s SDK License Agreement.
PyEDSDK is distributed under the MIT License. See License.txt for more information.