تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
8035 أدوات العرض

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?

الصورة الرمزية
إهمال
الكاتب

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.

أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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...

أفضل إجابة

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)

الصورة الرمزية
إهمال

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

الكاتب

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 25
5
0
أكتوبر 25
9
0
أكتوبر 25
9
0
أكتوبر 25
11
1
أكتوبر 25
230