Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing python-efl via pip3, eina version mismatch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mains
n00b
n00b


Joined: 12 Jan 2018
Posts: 2

PostPosted: Fri Jan 12, 2018 8:43 am    Post subject: installing python-efl via pip3, eina version mismatch Reply with quote

First off just want to say thanks for reading my post.

I installed enlightenment 0.20.5 with help from the wiki

https://wiki.gentoo.org/wiki/Enlightenment

I installed enlightenment version 0.20.5 with this command :
Code:

emerge --ask --autounmask-write x11-wm/enlightenment:0.17


I emerged python-pip.

Heres my make.conf in case anyone finds it relevant:

Code:

CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
ABI_X86="64 32"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="-gpm abi_x86_64 -cairo abi_x86_32 -pango -glib -mesa xkb subversion -systemd -gnome -kde -xfce -proprietary-codecs -introspection -pam consolekit -gtk lvm1 lvm2create_initrd cryptsetup symlink multilib opengl udev X encode -libav dbus alsa cpu_flags_x86_sse v4l zlib encode cpu_flags_x86_sse2 cpu_flags_x86_mmxext pulseaudio sound xft unicode3 svg png"
CPU_FLAGS_X86="mmx mmxext sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"


When I try to install python-efl with pip I get this:

Code:

pip install python-efl --user
Collecting python-efl
  Downloading python-efl-1.20.0.tar.gz (10.6MB)
    100% |████████████████████████████████| 10.6MB 90kB/s
Installing collected packages: python-efl
  Running setup.py install for python-efl ... error
    Complete output from command /usr/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3hrv29qd/python-efl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-2yumnhc7-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    Python-EFL: 1.20.0
    Checking for Python: OK, found 3.5.4
    Checking for Cython: not needed, using pre-generated C files
    Eina version mismatch. Found: 1.17.0  Needed 1.20.0
    Checking for Eina:

    ----------------------------------------
Command "/usr/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3hrv29qd/python-efl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-2yumnhc7-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-3hrv29qd/python-efl/


So although I have version 0.20.5 installed, it is detected in portage as 1.0.17.

Code:

# emerge --search enlightenment

[ Results for search key : enlightenment ]
Searching...

*  x11-wm/enlightenment
      Latest version available: 1.0.17
      Latest version installed: 1.0.17
      Size of files: 2,361 KiB
      Homepage:      https://www.enlightenment.org/
      Description:   Enlightenment Window Manager (e16)
      License:       BSD


Is there a clear work-around to be able to install this, or have the system recognize that the enlightenment version is 0.20.5?

I'd just like to tinker around with efl using the python bindings. Thank you all.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Sat Jan 13, 2018 1:38 am    Post subject: Reply with quote

You can have both installed, since this package is slotted. You should not use emerge --search to show what is installed. Instead, use emerge --pretend --verbose package or emerge --verbose --info package, which can list all installed versions of a multi-slot package.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum