chilkatPython 錯誤訊息



[Copy to clipboard] [ - ]
CODE:
# file: ZipExample1.py

__path__ = [".."]

import chilkat

zip = chilkat.CkZip()
zip.UnlockComponent("anything for 30-day trial")

# Simple example showing how to zip a directory tree.
zip.NewZip("exampleData.zip")
zip.AppendFiles("exampleData/*",True)
zip.WriteZip()

$python ZipExample1.py

出現下面錯誤訊息

  File "ZipExample1.py", line 4, in ?
    import chilkat
  File "../chilkat.py", line 7, in ?
    import _chilkat
ImportError: No module named _chilkat

請問一下是path 錯誤嗎?



http://www.example-code.com/python/default.asp

謝謝