I am using Ubuntu 20.04. EFL is installed from apt
$ dpkg -l | grep efl
ii efl-doc 1.23.3-8
all Documentation for the Enlightenment Foundation
Libraries
ii libefl-all-dev 1.23.3-8
amd64 Enlightenment Foundation Libraries development
files
ii terminology 1.6.0-2
amd64 Enlightenment efl based terminal emulator
ii terminology-data 1.6.0-2
all Enlightenment efl based terminal emulator data
I have followed the instructions from the INSTALL file you linked to.
$ git clone https://git.enlightenment.org/bindings/python/python-efl.git
$ sudo env ENABLE_CYTHON=1 python3 setup.py install
Full output is below.
the sample file is an exact 1:1 copy of the example program found on the
enlightenment.org website
If you would like, I will also post on the forum.
$ sudo env ENABLE_CYTHON=1 python3 setup.py install
Python-EFL: 1.23.0
Checking for Python: OK, found 3.8.2
Checking for Cython: OK, found 0.29.14
Checking for Eina: OK, found 1.23.3
Checking for Eo: OK, found 1.23.3
Checking for Evas: OK, found 1.23.3
Checking for Ecore: OK, found 1.23.3
Checking for EcoreFile: OK, found 1.23.3
Checking for EcoreInput: OK, found 1.23.3
Checking for EcoreCon: OK, found 1.23.3
Checking for EcoreX: OK, found 1.23.3
Checking for Ethumb: OK, found 1.23.3
Checking for Ethumb_Client: OK, found 1.23.3
Checking for Edje: OK, found 1.23.3
Checking for Emotion: OK, found 1.23.3
Checking for DBus: OK, found 1.2.16
Checking for Elementary: OK, found 1.23.3
running install
running build
running build_py
running build_ext
running install_lib
creating /usr/local/lib/python3.8/dist-packages/efl
creating /usr/local/lib/python3.8/dist-packages/efl/utils
copying
build/lib.linux-x86_64-3.8/efl/utils/deprecated.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl/utils
copying build/lib.linux-x86_64-3.8/efl/utils/__init__.py ->
/usr/local/lib/python3.8/dist-packages/efl/utils
copying
build/lib.linux-x86_64-3.8/efl/utils/logger.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl/utils
copying build/lib.linux-x86_64-3.8/efl/utils/setup.py ->
/usr/local/lib/python3.8/dist-packages/efl/utils
copying
build/lib.linux-x86_64-3.8/efl/utils/conversions.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl/utils
copying
build/lib.linux-x86_64-3.8/efl/ecore.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/evas.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/ethumb.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/ecore_input.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/edje_edit.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/ecore_x.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/ethumb_client.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying build/lib.linux-x86_64-3.8/efl/eo.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/edje.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
creating /usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/naviframe.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/layout.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/button.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/notify.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/panel.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/genlist.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/frame.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/spinner.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/conformant.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/clock.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/gesture_layer.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/list.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/ctxpopup.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/photo.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/multibuttonentry.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/background.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/grid.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/slideshow.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/video.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/scroller.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/gengrid.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/image.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/flipselector.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/dayselector.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/label.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/radio.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/menu.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/slider.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/index.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/hoversel.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/fileselector_entry.py
-> /usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/entry.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/toolbar.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/fileselector.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/innerwindow.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/check.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/table.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/popup.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying
build/lib.linux-x86_64-3.8/efl/elementary/__init__.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/actionslider.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/transit.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/flip.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/fileselector_button.py
-> /usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/window.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/photocam.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/diskselector.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/box.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/object.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/datetime_elm.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/colorselector.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/general.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/thumb.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/theme.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/map.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/plug.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/progressbar.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/segment_control.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/calendar_elm.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/need.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/__init__.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/icon.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/web.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/hover.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/separator.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/mapbuf.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/configuration.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/bubble.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying build/lib.linux-x86_64-3.8/efl/elementary/panes.py ->
/usr/local/lib/python3.8/dist-packages/efl/elementary
copying
build/lib.linux-x86_64-3.8/efl/ecore_con.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying build/lib.linux-x86_64-3.8/efl/__init__.py ->
/usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/dbus_mainloop.cpython-38-x86_64-linux-gnu.so
-> /usr/local/lib/python3.8/dist-packages/efl
copying
build/lib.linux-x86_64-3.8/efl/emotion.cpython-38-x86_64-linux-gnu.so ->
/usr/local/lib/python3.8/dist-packages/efl
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/utils/__init__.py to
__init__.cpython-38.pyc
byte-compiling /usr/local/lib/python3.8/dist-packages/efl/utils/setup.py
to setup.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/naviframe.py to
naviframe.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/layout.py to
layout.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/button.py to
button.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/notify.py to
notify.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/panel.py to
panel.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/genlist.py to
genlist.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/frame.py to
frame.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/spinner.py to
spinner.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/conformant.py to
conformant.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/clock.py to
clock.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/gesture_layer.py
to gesture_layer.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/list.py to
list.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/ctxpopup.py to
ctxpopup.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/photo.py to
photo.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/multibuttonentry.py
to multibuttonentry.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/background.py to
background.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/grid.py to
grid.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/slideshow.py to
slideshow.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/video.py to
video.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/scroller.py to
scroller.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/gengrid.py to
gengrid.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/image.py to
image.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/flipselector.py to
flipselector.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/dayselector.py to
dayselector.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/label.py to
label.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/radio.py to
radio.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/menu.py to
menu.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/slider.py to
slider.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/index.py to
index.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/hoversel.py to
hoversel.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/fileselector_entry.py
to fileselector_entry.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/entry.py to
entry.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/toolbar.py to
toolbar.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/fileselector.py to
fileselector.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/innerwindow.py to
innerwindow.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/check.py to
check.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/table.py to
table.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/popup.py to
popup.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/actionslider.py to
actionslider.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/transit.py to
transit.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/flip.py to
flip.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/fileselector_button.py
to fileselector_button.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/window.py to
window.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/photocam.py to
photocam.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/diskselector.py to
diskselector.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/box.py to
box.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/object.py to
object.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/datetime_elm.py to
datetime_elm.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/colorselector.py
to colorselector.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/general.py to
general.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/thumb.py to
thumb.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/theme.py to
theme.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/map.py to
map.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/plug.py to
plug.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/progressbar.py to
progressbar.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/segment_control.py
to segment_control.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/calendar_elm.py to
calendar_elm.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/need.py to
need.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/__init__.py to
__init__.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/icon.py to
icon.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/web.py to
web.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/hover.py to
hover.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/separator.py to
separator.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/mapbuf.py to
mapbuf.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/configuration.py
to configuration.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/bubble.py to
bubble.cpython-38.pyc
byte-compiling
/usr/local/lib/python3.8/dist-packages/efl/elementary/panes.py to
panes.cpython-38.pyc
byte-compiling /usr/local/lib/python3.8/dist-packages/efl/__init__.py to
__init__.cpython-38.pyc
running install_egg_info
Writing
/usr/local/lib/python3.8/dist-packages/python_efl-1.23.0.egg-info
writing list of installed files to 'installed_files-3.8.txt'
On 2020-09-23 18:56, Rbt. Y-Lee wrote:
You are not including alot of details here. What Distro? What version
of EFL do you have installed? Specifically what steps did you take to
install python3-efl? As to sample.py it works here with no issues, so
I am unsure. Perhaps post on our forums:
https://bodhilinux.boards.net/board/25/efl-programming
You are clearly not using Bodhi as py-efl for python 2 and 3 is in our
repository. But post there anyway.
On Wed, Sep 23, 2020 at 2:21 PM <gr...@iowntheinter.net> wrote:
Thanks for the instruction. Now
$ echo "from efl import elementary" | python3
works with no error.
The sample from the enlightenment.org [1] website still fails to run
however.
https://docs.enlightenment.org/python-efl/current/elementary/elementary.html#a-sample-python-elementary-program
It now produces the following error:
$ python3 sample.py
Traceback (most recent call last):
File "sample.py", line 4, in <module>
from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL,
EXPAND_BOTH
ImportError: cannot import name 'EVAS_HINT_EXPAND' from 'efl.evas'
(unknown location)
On 2020-09-23 16:03, Rbt. Y-Lee wrote:
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
Links:
------
[1] http://enlightenment.org
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users