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