Chilkat2 for Python MAC OS X Install Instructions

Chilkat2 MAC OS X Python Downloads

Python Examples: Chilkat2 Python Examples

Documentation: Chilkat Python Reference Documentation

1. Download

Download the binary distribution and unpack to any directory. The download contains the following files:

chilkat2.so
license.txt
installChilkat.py
testChilkat.py
Darwin (This is an empty file. The download is for this operating system.)
x86_64 (or i686, an empty file.  The download is for this processor architecture.)
3.5 (or 3.1, 3.2, etc.  This is an empty file. The download is for this version of Python.)

To unpack use "tar xzf". For example:

 tar xzf chilkat2-9.5.0-python-3.5-macosx.tar.gz

When downloading on Mac OS X, the file may have been automatically decompressed. If so, then do this instead:

 tar xf chilkat2-9.5.0-python-3.5-macosx.tar

2. Install to Local Site-Packages

Run the installChilkat.py script to copy the chilkat2.so to the site-packages directory.

 python installChilkat.py

or

 python3 installChilkat.py

3. Install to Global Site-Packages

Alternatively, to install to the global site-packages, use the -g option:

 sudo python installChilkat.py -g

or

 sudo python3 installChilkat.py -g

4. Test

Run the testChilkat.py script to verify.

 python testChilkat.py

or

 python3 testChilkat.py

The testChilkat.py contains the following Python code. It instantiates a few Chilkat objects and prints the Chilkat version.

import chilkat2

# Create some Chilkat objects and print the versions

zip = chilkat2.Zip()
print("Zip: " + zip.Version)

imap = chilkat2.Imap()
print("IMAP: " + imap.Version)

ftp = chilkat2.Ftp2()
print("FTP: " + ftp.Version)

mailman = chilkat2.MailMan()
print("POP3/SMTP: " + mailman.Version)

ssh = chilkat2.Ssh()
print("SSH: " + ssh.Version)

sftp = chilkat2.SFtp()
print("SFTP: " + sftp.Version)

rsa = chilkat2.Rsa()
print("RSA: " + rsa.Version)

http = chilkat2.Http()
print("RSA: " + http.Version)

crypt = chilkat2.Crypt2()
print("Crypt: " + crypt.Version)

xml = chilkat2.Xml()
print("XML: " + xml.Version)

sock = chilkat2.Socket()
print("Socket/SSL/TLS: " + sock.Version)

tar = chilkat2.Tar()
print("TAR: " + tar.Version)