yezyilomo / odoo-rest-api

Module which expose Odoo as a REST API
MIT License
209 stars 169 forks source link

pupeg2 is not installing #52

Open joekabucho opened 4 years ago

joekabucho commented 4 years ago

Unable to install module "odoo-rest-api-master" because an external dependency is not met: No module named pypeg2

this is after installing it from requirement.txt installing it as a standalone and even in a virtualc environment

yezyilomo commented 4 years ago

U might be installing pypeg2 in the env which your running odoo instance doesn't use, faced something like this in windows os, I solved it by finding the right env directory which odoo use.

joekabucho commented 4 years ago

let me try thanks for the response

im running it on an ibuntu instalce pypeg2 is installed but odoo doesnt detect it

On Sat, Aug 8, 2020, 14:05 Yezy Ilomo notifications@github.com wrote:

U might be installing pypeg2 in the env which your running odoo instance doesn't use, faced something like this in windows os, I solved it by finding the right env directory which odoo use.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yezyilomo/odoo-rest-api/issues/52#issuecomment-670891720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3YOS2FR7FEAFRAV5YM4B3R7UWPBANCNFSM4PUT2OOA .

peterchibunna commented 3 years ago

I was able to resolve this by installing pypeg2 not by pip but using apt

sudo apt install python3-pypeg2

Then restart odoo service (maybe not necessary though)