Follow the directions in its install file: https://git.enlightenment.org/bindings/python/python-efl.git/tree/INSTALL
I don't know what distro you are using but it should make no difference if efl was installed is a package manager. It doesn't on ubuntu/debian based distros. On Wed, Sep 23, 2020 at 11:00 AM <gr...@iowntheinter.net> wrote: > What is the recommended way to install python-efl on systems where efl > has been installed from a package manager (ubuntu) and not built from > source? > > > On 2020-09-23 14:41, gr...@iowntheinter.net wrote: > > Thanks for the clarification. > > > > On 2020-09-23 14:19, Rbt. Y-Lee wrote: > >> Installing Python-efl from pip does not work. It should be fixed or > >> removed > >> from there but it has not been. > >> > >> On Wed, Sep 23, 2020 at 9:32 AM <gr...@iowntheinter.net> wrote: > >> > >>> I am also confused about this, and I am not a python newbie, although > >>> maybe I am missing something > >>> from the docs here, it does appear you should be able to do that > >>> > >>> > https://docs.enlightenment.org/python-efl/current/elementary/elementary.html#a-sample-python-elementary-program > >>> > >>> however > >>> > >>> > >>> /tmp/blash$ echo 'python-efl' > requierments.txt > >>> /tmp/blash$ virtualenv -p $(which python3) venv > >>> ..... > >>> /tmp/blash$ source venv/bin/activate > >>> (venv) /tmp/blash$ pip3 install -r requierments.txt > >>> ... > >>> > >>> Successfully built python-efl > >>> Installing collected packages: python-efl > >>> Successfully installed python-efl-1.23.0 > >>> ... > >>> (venv) /tmp/blash$ echo "from efl import elementary" | python3 > >>> Traceback (most recent call last): > >>> File "<stdin>", line 1, in <module> > >>> ImportError: cannot import name 'elementary' from 'efl' > >>> (/tmp/blash/venv/lib/python3.8/site-packages/efl/__init__.py) > >>> > >>> > >>> > >>> > >>> > >>> On 2020-09-22 19:46, Pierre Cassimans via enlightenment-users wrote: > >>> > Hi, > >>> > > >>> > > >>> > > >>> > As a newbie python programmer, I want to use the python-efl libraries > >>> > in a > >>> > project. The IDE I use is Pycharm. > >>> > > >>> > > >>> > > >>> > I have successfully imported python-efl in my interpreter, but when I > >>> > try to > >>> > "from efl import elementary", I get the following error: Cannot find > >>> > reference 'elementary' in __init__.py > >>> > > >>> > > >>> > > >>> > What did I do wrong? > >>> > > >>> > > >>> > > >>> > cazze > >>> > > >>> > > >>> > > >>> > > >>> > _______________________________________________ > >>> > enlightenment-users mailing list > >>> > enlightenment-users@lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >>> > >>> > >>> _______________________________________________ > >>> enlightenment-users mailing list > >>> enlightenment-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >>> > >> > >> _______________________________________________ > >> enlightenment-users mailing list > >> enlightenment-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > T > > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users