Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
8023 Näkymät

I have installed an extra module which needs an extra python routine. It is BeautifulSoup, needed for account_banking. I installed BeautifulSoup.py in a directory of which I thought it should be the right one. There are a lot of other python routines there. Next thing, I stopped and started the service.

However when I try to open to log in the database I get an error with a traceback with: ImportError: No module named BeautifulSoup

I assume OpenERP didn't find the module because it is expecting it in an other directory.

How to find out in which directory OpenERP is looking for this and other routines? Can this be found in some kind of a configuration file?

Avatar
Hylkää
Tekijä

The answer can also be interest for those who want more than one version of openerp and more than one version of python on one machine. Or for those who use also python for other software on the same machine.

Paras vastaus

how did you install BeautifulSoup? You should install it with pip or easy_install. Doing so it will be available for your OpenERP installation

Avatar
Hylkää
Tekijä

Thanks for this advice. But for some reasons it is difficult for me to install via pip or easy_install. Because I think BeautifulSoup is an HTML/XML parser which only need to be put in the right directory I copied BeautifulSoup,py to the directory. In an earlier OE installation I did the same and it worked ok.

Python 2.7 is correctly installed with easy_install (on Windows 2008 server with OE 7.0), but the external dependency error still exist... Is there not a normal installation procedure for account_banking?

I have excluded the external dependency and installed account_banking correctly afterall, but then the POS module doesn't work anymore.... EduSense Please create a good installation description...

Paras vastaus

pip install beautifulsoup (version 3 NOT beautifulsoup4)

if you don't have pip, install it via apt-get install python-pip

pip helps in handling python-packages. why manual decompress, look for folder, copy, undo-because-wrong, repeat-again... if you can save time (o.k. not always, but sometimes)

Avatar
Hylkää

if this helped, please vote or close question, if not: write back. thank you

Tekijä

I can't use pip. This is because I make use of a Synology NAS. This NAS do not have theis possibility. And I also can't apt-get ..... on this NAS.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
lokak. 25
5
0
lokak. 25
9
0
lokak. 25
9
0
lokak. 25
11
1
lokak. 25
225