the error content as follow:
(10.19.1.45) C:\Program Files\Bentley\ContextCapture Center\sdk>pythonPython 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32Type "help", "copyright", "credits" or "license" for more information.>>> import ccmasterkernelTraceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\hyzx\AppData\Local\Bentley\ContextCaptureSDK_CCCenter\10.19.1.45\lib\site-packages\ccmasterkernel\__init__.py", line 24, in <module> from ccmasterkernel.bindings import *ImportError: DLL load failed: 找不到指定的模块。
The error indicates that certain "dependencies" required for the desired libraries were missing. This is a frequently encountered issue during the installation of Python packages, particularly on Windows. Prior to utilizing any library, it is advisable to verify if it necessitates additional libraries within the Python ecosystem.
The solution is to provide the interpreter with the python path to your module/library. The simplest solution is to append that path to your sys.path list. In your notebook, first try:
import sys sys.path.append('my/path/to/module/folder')
This is not a persistent modification to the sys.path, as your environment is reset when you log out, causing any variables you may have set to be lost.
A more effective (and enduring) approach to resolve this issue is by configuring your PYTHONPATH, which enables the interpreter to search for Python packages/modules in additional directories.
from BASH type: export PYTHONPATH=/path/to/new/folder:/another/path/...../ #each path must be separated by a colon