Chilkat for Python 2.7.* Windows Install Instructions
1. Download
Download the binary distribution and unzip to any directory. Note: Python may run as a 32-bit process even on a 64-bit computer. If this is the case, then download the 32-bit build.
32-bit Download: chilkat-9.5.0-python-2.7-win32.zip
64-bit Download: chilkat-9.5.0-python-2.7-x64.zip
The download contains the following files:
_chilkat.pyd
chilkat.py
Install_Instructions.txt
license.txt
showPythonPath.bat
showPythonPath.py
showPythonVersion.bat
showPythonVersion.py
showSitePackagesDir.bat
showSitePackagesDir.py
testChilkat.bat
testChilkat.py
zipTest.bat
zipTest.py
2. Verify Python 2.7.* is Installed
Run showPythonVersion.bat to verify that Python 2.7.* is the installed version of Python.
3. Find the site-packages Directory
Run showSitePackagesDir.bat to list the "site-packages" directories. For example:
['C:\Python27', 'C:\Python27\lib\site-packages']
4. Move Files to site-packages Directory
Move _chilkat.pyd and chilkat.py to the site-packages directory. (Make sure that _chilkat.pyd and chilkat.py only exist in the site-packages directory and nowhere else.)
The Chilkat module will be loaded via the import chilkat statement. Python searches for the module in the paths listed in sys.path (Run showPythonPath to view the directories in sys.path). Technically, the _chilkat.pyd and chilkat.py files may be copied to any of the sys.path directories. The convention is to install 3rd party modules in site-packages.
5. Run the testChilkat.py Sample to Verify
Run testChilkat.bat (which runs testChilkat.py) to verify that the Chilkat module can be found and loaded. The testChilkat.py program instantiates a number of Chilkat objects and displays the Version property of each.
|