Using the Synapse Python Client with SFTP data storage


Installing the extra libraries that the Python client uses to communication with SFTP servers may add a few steps to the installation process.

The required libraries are:

Installing on Unix variants

Building these libraries on Unix OS’s is straight forward, but you need the Python development headers and libraries. For example, in Debian or Ubuntu distributions:

sudo apt-get install python-dev

Once this requirement is met, sudo pip install synapseclient should be able to build pycrypto.

Installing on Windows

Binary distributions of pycrypto built for Windows is available from Michael Foord at Voidspace. Install this before installing the Python client.

After running the pycrypto installer, sudo pip install synapseclient should work.

Another option is to build your own binary with either the free developer tools from Microsoft or the MinGW compiler.