vext-python / vext

Use system python packages in virtualenv.
MIT License
72 stars 7 forks source link

ModuleNotFoundError: No module named 'gi.repository' #82

Open PabloEmidio opened 3 years ago

PabloEmidio commented 3 years ago

Using vext vext.gi with poetry. gi.repository didn't find and application doesn't run inside virtual environment

stuaxo commented 3 years ago

I seem to recall poetry either not working, or being tricky to get vext working in.

I would look into enabling logging (see the README), check the status of the vext command lines.

It would be useful if you could post your OS, python, pip, vext and poetry versions too.

PabloEmidio commented 3 years ago

I had used it with venv in manjaro and it had worked Now I am migrating to poetry and using another setup - conf

Poetry 1.1.7 Python 3.9.5 pip 21.1.3 OS: Fedora 34

leoguanco commented 2 years ago

Hi! @PabloEmidio, could you find a solution?

PabloEmidio commented 2 years ago

Hey, @leoguanco. None till now.

leoguanco commented 2 years ago

Hi! @PabloEmidio, I had to install this

apt-get install python3-gi

And after that it works but I think that is not a solution for vext.

PabloEmidio commented 2 years ago

@leoguanco thanks for the tips. I'm going to search and try it on Fedora,

stuaxo commented 2 years ago

In fedora it might be python3-gobject so you can try sudo dnf install python3-gobject