Traceback (most recent call last):

File "/data/xiaole_dl_img/product.v.one.banner.fixedperiod.genv.test.py", line 218, in <module>

import cv2

File "/root/anaconda3/lib/python3.5/site-packages/cv2/__init__.py", line 4, in <module>

from .cv2 import *

ImportError: libXdmcp.so.6: cannot open shared object file: No such file or directory

 



Traceback (most recent call last):
File "/data/xiaole_dl_img/product.v.one.banner.fixedperiod.genv.test.py", line 218, in <module>
import cv2
File "/root/anaconda3/lib/python3.5/site-packages/cv2/__init__.py", line 4, in <module>
from .cv2 import *
ImportError: libXdmcp.so.6: cannot open shared object file: No such file or directory
 

[root@mp3 ~]# yum list available | grep libXext
libXext.i686 1.3.3-3.el7 base
libXext.x86_64 1.3.3-3.el7 base
libXext-devel.i686 1.3.3-3.el7 base
libXext-devel.x86_64 1.3.3-3.el7 base
[root@mp3 ~]# yum install libXext.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXext.i686 0:1.3.3-3.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libXext-1.3.3-3.el7.i686
--> Processing Dependency: libX11.so.6 for package: libXext-1.3.3-3.el7.i686
--> Running transaction check
---> Package glibc.x86_64 0:2.17-55.el7_0.5 will be updated
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: nscd-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-devel-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-headers-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-common-2.17-55.el7_0.5.x86_64
---> Package glibc.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7_4.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7_4.2.i686
---> Package glibc.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package libX11.x86_64 0:1.6.0-2.1.el7 will be updated
---> Package libX11.i686 0:1.6.5-1.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-1.el7 for package: libX11-1.6.5-1.el7.i686
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.5-1.el7.i686
---> Package libX11.x86_64 0:1.6.5-1.el7 will be an update
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-common.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-devel.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-devel.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-headers.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-headers.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package libX11-common.noarch 0:1.6.0-2.1.el7 will be updated
---> Package libX11-common.noarch 0:1.6.5-1.el7 will be an update
---> Package libxcb.x86_64 0:1.9-5.el7 will be updated
---> Package libxcb.i686 0:1.12-1.el7 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.12-1.el7.i686
---> Package libxcb.x86_64 0:1.12-1.el7 will be an update
---> Package nscd.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package nscd.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.16.2-2.el7_0 will be updated
---> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be installed
--> Processing Dependency: nspr >= 4.13.1 for package: nss-softokn-freebl-3.28.3-8.el7_4.i686
---> Package nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 will be an update
--> Running transaction check
---> Package libXau.i686 0:1.0.8-2.1.el7 will be installed
---> Package nspr.x86_64 0:4.10.6-1.el7_0 will be updated
---> Package nspr.x86_64 0:4.13.1-1.0.el7_3 will be an update
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for libXext which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libXext of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libXext.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of libXext installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of libXext installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: libXext-1.3.3-3.el7.i686 != libXext-1.3.2-2.1.el7.x86_64
[root@mp3 ~]#


 



[root@mp3 ~]# yum list available | grep libXdmcp
libXdmcp.i686 1.1.2-6.el7 base
libXdmcp.x86_64 1.1.2-6.el7 base
libXdmcp-devel.i686 1.1.2-6.el7 base
libXdmcp-devel.x86_64 1.1.2-6.el7 base
[root@mp3 ~]# yum install libXdmcp.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXdmcp.x86_64 0:1.1.2-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================================================================================================
Installing:
libXdmcp x86_64 1.1.2-6.el7 base 34 k

Transaction Summary
====================================================================================================================================================================================================================================================================
Install 1 Package

Total download size: 34 k
Installed size: 66 k
Is this ok [y/d/N]: y
Downloading packages:
libXdmcp-1.1.2-6.el7.x86_64.rpm | 34 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libXdmcp-1.1.2-6.el7.x86_64 1/1
Verifying : libXdmcp-1.1.2-6.el7.x86_64 1/1

Installed:
libXdmcp.x86_64 0:1.1.2-6.el7

Complete!
[root@mp3 ~]# yum install libXdmcp.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXdmcp.i686 0:1.1.2-6.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libXdmcp-1.1.2-6.el7.i686
--> Running transaction check
---> Package glibc.x86_64 0:2.17-55.el7_0.5 will be updated
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: nscd-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-devel-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-headers-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-common-2.17-55.el7_0.5.x86_64
---> Package glibc.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7_4.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7_4.2.i686
---> Package glibc.x86_64 0:2.17-196.el7_4.2 will be an update
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-common.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-devel.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-devel.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-headers.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-headers.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package nscd.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package nscd.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.16.2-2.el7_0 will be updated
---> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be installed
--> Processing Dependency: nspr >= 4.13.1 for package: nss-softokn-freebl-3.28.3-8.el7_4.i686
---> Package nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 will be an update
--> Running transaction check
---> Package nspr.x86_64 0:4.10.6-1.el7_0 will be updated
---> Package nspr.x86_64 0:4.13.1-1.0.el7_3 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================================================================================================
Installing:
libXdmcp i686 1.1.2-6.el7 base 34 k
Installing for dependencies:
glibc i686 2.17-196.el7_4.2 updates 4.2 M
nss-softokn-freebl i686 3.28.3-8.el7_4 updates 199 k
Updating for dependencies:
glibc x86_64 2.17-196.el7_4.2 updates 3.6 M
glibc-common x86_64 2.17-196.el7_4.2 updates 11 M
glibc-devel x86_64 2.17-196.el7_4.2 updates 1.1 M
glibc-headers x86_64 2.17-196.el7_4.2 updates 676 k
nscd x86_64 2.17-196.el7_4.2 updates 273 k
nspr x86_64 4.13.1-1.0.el7_3 base 126 k
nss-softokn-freebl x86_64 3.28.3-8.el7_4 updates 214 k

Transaction Summary
====================================================================================================================================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Upgrade ( 7 Dependent packages)

Total download size: 22 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/10): glibc-2.17-196.el7_4.2.x86_64.rpm | 3.6 MB 00:00:00
(2/10): glibc-2.17-196.el7_4.2.i686.rpm | 4.2 MB 00:00:00
(3/10): glibc-devel-2.17-196.el7_4.2.x86_64.rpm | 1.1 MB 00:00:00
(4/10): glibc-headers-2.17-196.el7_4.2.x86_64.rpm | 676 kB 00:00:00
(5/10): nscd-2.17-196.el7_4.2.x86_64.rpm | 273 kB 00:00:00
(6/10): nss-softokn-freebl-3.28.3-8.el7_4.i686.rpm | 199 kB 00:00:00
(7/10): nss-softokn-freebl-3.28.3-8.el7_4.x86_64.rpm | 214 kB 00:00:00
(8/10): libXdmcp-1.1.2-6.el7.i686.rpm | 34 kB 00:00:00
(9/10): glibc-common-2.17-196.el7_4.2.x86_64.rpm | 11 MB 00:00:00
(10/10): nspr-4.13.1-1.0.el7_3.x86_64.rpm | 126 kB 00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 18 MB/s | 22 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-common-2.17-196.el7_4.2.x86_64 1/17
Updating : nss-softokn-freebl-3.28.3-8.el7_4.x86_64 2/17
Updating : glibc-2.17-196.el7_4.2.x86_64 3/17
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
Updating : nspr-4.13.1-1.0.el7_3.x86_64 4/17
Updating : glibc-headers-2.17-196.el7_4.2.x86_64 5/17
Updating : glibc-devel-2.17-196.el7_4.2.x86_64 6/17
Updating : nscd-2.17-196.el7_4.2.x86_64 7/17
Installing : nss-softokn-freebl-3.28.3-8.el7_4.i686 8/17
Installing : glibc-2.17-196.el7_4.2.i686 9/17
Installing : libXdmcp-1.1.2-6.el7.i686 10/17
Cleanup : glibc-devel-2.17-55.el7_0.5.x86_64 11/17
Cleanup : glibc-headers-2.17-55.el7_0.5.x86_64 12/17
Cleanup : nscd-2.17-55.el7_0.5.x86_64 13/17
Cleanup : nspr-4.10.6-1.el7_0.x86_64 14/17
Cleanup : glibc-common-2.17-55.el7_0.5.x86_64 15/17
Cleanup : nss-softokn-freebl-3.16.2-2.el7_0.x86_64 16/17
Cleanup : glibc-2.17-55.el7_0.5.x86_64 17/17
Verifying : glibc-devel-2.17-196.el7_4.2.x86_64 1/17
Verifying : glibc-2.17-196.el7_4.2.i686 2/17
Verifying : libXdmcp-1.1.2-6.el7.i686 3/17
Verifying : nspr-4.13.1-1.0.el7_3.x86_64 4/17
Verifying : nss-softokn-freebl-3.28.3-8.el7_4.i686 5/17
Verifying : nscd-2.17-196.el7_4.2.x86_64 6/17
Verifying : glibc-2.17-196.el7_4.2.x86_64 7/17
Verifying : glibc-common-2.17-196.el7_4.2.x86_64 8/17
Verifying : nss-softokn-freebl-3.28.3-8.el7_4.x86_64 9/17
Verifying : glibc-headers-2.17-196.el7_4.2.x86_64 10/17
Verifying : glibc-2.17-55.el7_0.5.x86_64 11/17
Verifying : glibc-devel-2.17-55.el7_0.5.x86_64 12/17
Verifying : nscd-2.17-55.el7_0.5.x86_64 13/17
Verifying : glibc-headers-2.17-55.el7_0.5.x86_64 14/17
Verifying : glibc-common-2.17-55.el7_0.5.x86_64 15/17
Verifying : nspr-4.10.6-1.el7_0.x86_64 16/17
Verifying : nss-softokn-freebl-3.16.2-2.el7_0.x86_64 17/17

Installed:
libXdmcp.i686 0:1.1.2-6.el7

Dependency Installed:
glibc.i686 0:2.17-196.el7_4.2 nss-softokn-freebl.i686 0:3.28.3-8.el7_4

Dependency Updated:
glibc.x86_64 0:2.17-196.el7_4.2 glibc-common.x86_64 0:2.17-196.el7_4.2 glibc-devel.x86_64 0:2.17-196.el7_4.2 glibc-headers.x86_64 0:2.17-196.el7_4.2 nscd.x86_64 0:2.17-196.el7_4.2 nspr.x86_64 0:4.13.1-1.0.el7_3 nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4

Complete!
[root@mp3 ~]#