콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
8017 화면

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.

관련 게시물 답글 화면 활동
1
10월 25
203
1
10월 25
329
0
10월 25
329
3
10월 25
497
0
10월 25
298