Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Can't install auto_backup module

on 8/31/15, 3:10 AM 1,916 views

Hello, I'm trying to install the auto_backup module (https://apps.openerp.com/apps/modules/8.0/auto_backup/).

When I update modules to get it in odoo, this message is shown:

ImportError: This module needs pysftp to automaticly write backups to the FTP through SFTP.
Please install pysftp on your system. (sudo pip install pysftp)

I installed pysftp on my os (win7) and it's working (I can use and import the library in python codes), but I still get that error message in odoo. Do I need to install something else?

Any help is appreciated.

Hi Cole, I'm the creator of this module. I haven't personally tested this module on Windows 7.. Only on Linux systems. In theory everything should be working since you say you can import the library in other Python files. Have you tried a reboot in the meanwhile? Just to be sure.

on 8/31/15, 3:23 AM

Hi! Yes, I tried a reboot but it didn't help me.

on 8/31/15, 3:43 AM

Even though it does not help you right now (because you are already on a W7 machine) ... you will receive more support on feedback on any issues you might be dealing if you use what most of the people are using (and what Odoo is mainly built for ... and that is Ubuntu or debian).

on 8/31/15, 5:59 AM

And I have to agree with Gunnar. You should really change to Ubuntu/debian. Much more knowledge from the community, more flexibility and this module will work fine out of the box as a bonus.

on 8/31/15, 7:54 AM

Thank you for the advices :)

on 9/1/15, 3:02 AM
Demian Rihs
On 8/10/16, 5:24 AM

You need to manually install pysftp module. 

First download the module:

wget https://pypi.python.org/packages/36/60/45f30390a38b1f92e0a8cf4de178cd7c2bc3f874c85430e40ccf99df8fe7/pysftp-0.2.9.tar.gz
tar xvzf pysftp-0.2.9.tar.gz
rm pysftp-0.2.9.tar.gz

Then install libffi:

sudo apt-get install libffi-dev

move into the exctracted pysftp-0.2.9 directory and run:

sudo python setup.py install

and finally restart odoo:

sudo service odoo-server restart

That should fix the issue

On 2/19/16, 4:21 AM

auto_backup module is not working with the new debiant Odoo8 Version on Ubuntu 14.04

If pysftp is installed and you want to install the auto_backup modules, it says that pysftp is not installed.

But pysftp 0.2.8 is correctly installed and tested. auto_backup module need a refresh I think.

anybody has a fix for this issue?

on 2/19/16, 9:24 AM

Requirement already satisfied (use --upgrade to upgrade): pysftp in /usr/local/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.7.7 in /usr/local/lib/python2.7/dist-packages (from pysftp) Cleaning up...

on 2/19/16, 9:28 AM
On 9/5/16, 11:42 PM

  • Instllation of librairies and dépendances 

          • sudo apt-get install python-pip python-dev build-essential
          • sudo apt-get install build-essential libssl-dev libffi-dev python-dev
          • sudo pip install --upgrade pip sudo pip install --upgrade virtualenv
          • sudo pip install pysftp
Keenmeng Lew
On 9/1/16, 4:10 AM


I use Odoo v9 Community.  After moving the auto_backup folder into my addons folder and restarted, I get an Internal Server Error.  Is there something else I might have missed?


On 6/21/16, 10:08 PM

Has this issue been addressed? I have been getting the same errors with Odoo 9ent....cant seem to get this module working, exact same issue described here.

On 5/21/16, 6:10 AM

I'm also getting the error that pysftp is not installed when it actually is installed.

any explication for it please?

Edser Solis
On 3/26/16, 9:12 AM

Have you got any fix for this? I'm also getting the error that pysftp is not installed when it actually is installed.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 8/31/15, 3:10 AM
Seen: 1916 times
Last updated: 9/5/16, 11:42 PM