Reputation: 3907
I'm behind a virtualenv created with virtualenvwrapper
My problem is that I already installed everything I saw on any SO post.
Such as:
python-lxml
libxml2-dev
libxslt-dev
python-dev
lib32z1-dev
zlib1g-dev
But nothing, I'm trying to install an odoo module which requires libxml2
and still can't do it, it throws:
File "/home/user/odoov8/odoo-venezuela/l10n_ve_withholding_islr/wizard/employee_income_wh.py", line 17, in <module>
import libxml2
ImportError: No module named libxml2
what can I do to run this?
I think it has something to do with virtualenvwrapper, but I'm not really sure.
Any ideas?
Thanks in advance!
Upvotes: 0
Views: 860
Reputation: 2688
If you installed python-libxml2 using apt-get (or equivalent) you can access it inside virtualenv --system-site-packages flag
virtualenv --system-site-packages env
Upvotes: 1
Reputation: 3907
Solved by installing the instance system-wide
However, I'll leave this question open if someone has a solution to work it out through virtualenv.
Thanks
Upvotes: 1