this question has answer here:
- python cannot install pygobject 2 answers
i'm upgrading old django app python2.7 python3.4. while installing pygobject via pip, got error:
collecting pygobject using cached pygobject-2.28.3.tar.bz2 complete output command python setup.py egg_info: traceback (most recent call last): file "<string>", line 20, in <module> file "/tmp/pip-build-9dp0wn96/pygobject/setup.py", line 272 raise systemexit, 'error: nothing do, gio not found , essential.' ^ syntaxerror: invalid syntax ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /tmp/pip-build-9dp0wn96/pygobject i trying install in virtualenv. system-wide installation doesn't work either... working on arch linux python3.4
i have installed arch package named pygobject-devel 3.16.2-1 still can't import gobject python module
what damned missing gio?
any welcomed... thanx in advance !
answer in post tagged in comment above !!!! have there => python cannot install pygobject
ok managed !
to install pygobject in virtrualenv, give pip.
install pygobject system-wide (with package manager or compile manually). example, in case :
sudo pacman -suy python-gobject2link in virtualenv :
ln -s /usr/lib/python3.4/site-packages/gobject* /wherever/is/your/virtualenv/venv/lib/python3.4/site-packages/you might need link other modules (in case glib) :
ln -s /usr/lib/python3.4/site-packages/glib* /wherever/is/your/virtualenv/venv/lib/python3.4/site-packages/
you might find helpful infos system-wide , virtualenv installations , interactions between modules here :
Comments
Post a Comment