Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Python modules for OpenERP 6.1 in Windows

Tags:

python

openerp

I installed OpenERP 6.1 on windows using the AllInOne package. I did NOT install Python separately. Apparently OpenERP folders already contain the required python executables.

Now when I try to install certain addons, I usually come across requirements to install certain python modules. E.g. to install Jasper_Server, I need to install http2, pypdf and python-dime.

As there is no separate Python installation, there is no C:\Python or anything like that. Where and how do I install these python packages so that I am able to install the addon?

Thanks

like image 942
Raza Ali Avatar asked Nov 12 '12 15:11

Raza Ali


2 Answers

Please check this link, may be helpful for you. http://www.zbeanztech.com/blog/openerp-source-eclipse-under-windows

if you install the python package separately, then you have to add the bin path of the installed package to the system environment variable.

like image 92
OmaL Avatar answered Oct 05 '22 23:10

OmaL


Good question..

Openerp on windows uses a dll for python (python26.dll in /Server/server of the openerp folder in program files). It looks like all the extra libraries are in the same folder, so you should be able to download the extra libraries to that folder and restart the service. (I usually stop the service and run it manually from the command line - its easier to see if there are any errors etc while debugging)

Let us know if you get it working!

like image 34
TimoSolo Avatar answered Oct 06 '22 00:10

TimoSolo