mayavi
mayavi copied to clipboard
qt.qpa.plugin problem
Hello i tried to make instalation inside virtualenv with python 3.6.7, Here the steps i made:
pip install mayavi
- success
pip install PyQt5
- success
pip install pysurfer
- success
jupyter nbextension install --py mayavi --user
jupyter nbextension install --py mayavi --user
Then in Ipython is try next:
In [2]: %gui qt
In [3]: import numpy as np
In [4]: from mayavi import mlab
And the error is:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
How to resolve it?
Same problem here.
I met the same problem, have you solved it?
@vandeppce can you give us some more information about your environment? Are you working on a headless machine? What apt/OS packages did you install/are already installed.
This looks similar to an error we saw in other enthought open source packages on travis CI machines. We were able to fix those issues by installing additional apt packages. See https://github.com/enthought/envisage/blob/23ea9885a75044395942305c1f9edee077a9ffcd/.travis.yml#L9-L15
@vandeppce can you give us some more information about your environment? Are you working on a headless machine? What apt/OS packages did you install/are already installed.
This looks similar to an error we saw in other enthought open source packages on travis CI machines. We were able to fix those issues by installing additional apt packages. See https://github.com/enthought/envisage/blob/23ea9885a75044395942305c1f9edee077a9ffcd/.travis.yml#L9-L15
I ssh to a server. My environment are as follows:
libacl1:amd64 2.2.52-3buil amd64 Access control list shared librar
libaec-dev:amd 0.3.2-2 amd64 Development files for the Adaptiv
ii libaec0:amd64 0.3.2-2 amd64 Adaptive Entropy Coding library
ii libapparmor1:a 2.12-4ubuntu amd64 changehat AppArmor library
ii libapt-inst2.0 1.6.12 amd64 deb package format runtime librar
ii libapt-pkg5.0: 1.6.11 amd64 package management runtime librar
ii libargon2-0:am 0~20161029-1 amd64 memory-hard hashing function - ru
ii libasan4:amd64 7.4.0-1ubunt amd64 AddressSanitizer -- a fast memory
ii libasn1-8-heim 7.5.0+dfsg-1 amd64 Heimdal Kerberos - ASN.1 library
ii libassuan0:amd 2.5.1-2 amd64 IPC library for the GnuPG compone
ii libatk-bridge2 2.26.2-1 amd64 AT-SPI 2 toolkit bridge - shared
ii libatk1.0-0:am 2.28.1-1 amd64 ATK accessibility toolkit
ii libatk1.0-data 2.28.1-1 all Common files for the ATK accessib
ii libatomic1:amd 8.3.0-6ubunt amd64 support library providing __atomi
ii libatspi2.0-0: 2.28.0-1 amd64 Assistive Technology Service Prov
ii libattr1:amd64 1:2.4.47-2bu amd64 Extended attribute shared library
ii libaudit-commo 1:2.8.2-1ubu all Dynamic library for security audi
ii libaudit1:amd6 1:2.8.2-1ubu amd64 Dynamic library for security audi
ii libavahi-clien 0.7-3.1ubunt amd64 Avahi client library
ii libavahi-commo 0.7-3.1ubunt amd64 Avahi common data files
ii libavahi-commo 0.7-3.1ubunt amd64 Avahi common library
ii libavahi-core7 0.7-3.1ubunt amd64 Avahi's embeddable mDNS/DNS-SD li
ii libavahi-glib1 0.7-3.1ubunt amd64 Avahi GLib integration library
ii libbind9-160:a 1:9.11.3+dfs amd64 BIND9 Shared Library used by BIND
ii libbinutils:am 2.30-21ubunt amd64 GNU binary utilities (private sha
ii libblkid1:amd6 2.31.1-0.4ub amd64 block device ID library
ii libbrotli1:amd 1.0.3-1ubunt amd64 library implementing brotli encod
ii libbsd0:amd64 0.8.7-1 amd64 utility functions from BSD system
ii libbz2-1.0:amd 1.0.6-8.1ubu amd64 high-quality block-sorting file c
ii libc-bin 2.27-3ubuntu amd64 GNU C Library: Binaries
ii libc-dev-bin 2.27-3ubuntu amd64 GNU C Library: Development binari
ii libc6:amd64 2.27-3ubuntu amd64 GNU C Library: Shared libraries
ii libc6-dev:amd6 2.27-3ubuntu amd64 GNU C Library: Development Librar
ii libcairo-gobje 1.15.10-2ubu amd64 Cairo 2D vector graphics library
ii libcairo2:amd6 1.15.10-2ubu amd64 Cairo 2D vector graphics library
ii libcap-ng0:amd 0.7.7-3.1 amd64 An alternate POSIX capabilities l
ii libcap2:amd64 1:2.25-1.2 amd64 POSIX 1003.1e capabilities (libra
ii libcap2-bin 1:2.25-1.2 amd64 POSIX 1003.1e capabilities (utili
ii libcc1-0:amd64 8.3.0-6ubunt amd64 GCC cc1 plugin for GDB
ii libcdparanoia0 3.10.2+debia amd64 audio extraction tool for samplin
ii libcilkrts5:am 7.4.0-1ubunt amd64 Intel Cilk Plus language extensio
ii libcolord2:amd 1.3.3-2build amd64 system service to manage device c
ii libcom-err2:am 1.44.1-1ubun amd64 common error description library
ii libcroco3:amd6 0.6.12-2 amd64 Cascading Style Sheet (CSS) parsi
ii libcryptsetup1 2:2.0.2-1ubu amd64 disk encryption support - shared
ii libcudnn7 7.6.2.24-1+c amd64 cuDNN runtime libraries
ii libcups2:amd64 2.2.7-1ubunt amd64 Common UNIX Printing System(tm) -
ii libcurl3-gnutl 7.58.0-2ubun amd64 easy-to-use client-side URL trans
ii libcurl4:amd64 7.58.0-2ubun amd64 easy-to-use client-side URL trans
ii libdaemon0:amd 0.14-6 amd64 lightweight C library for daemons
ii libdatrie1:amd 0.2.10-7 amd64 Double-array trie library
ii libdb5.3:amd64 5.3.28-13.1u amd64 Berkeley v5.3 Database Libraries
ii libdbus-1-3:am 1.12.2-1ubun amd64 simple interprocess messaging sys
ii libdconf1:amd6 0.26.0-2ubun amd64 simple configuration storage syst
ii libdebconfclie 0.213ubuntu1 amd64 Debian Configuration Management S
ii libdevmapper1. 2:1.02.145-4 amd64 Linux Kernel Device Mapper usersp
ii libdns1100:amd 1:9.11.3+dfs amd64 DNS Shared Library used by BIND
ii libdouble-conv 2.0.1-4ubunt amd64 routines to convert IEEE floats t
ii libdpkg-perl 1.19.0.5ubun all Dpkg perl modules
ii libdrm-amdgpu1 2.4.101-2~18 amd64 Userspace interface to amdgpu-spe
ii libdrm-common 2.4.101-2~18 all Userspace interface to kernel DRM
ii libdrm-dev:amd 2.4.101-2~18 amd64 Userspace interface to kernel DRM
ii libdrm-intel1: 2.4.101-2~18 amd64 Userspace interface to intel-spec
ii libdrm-nouveau 2.4.101-2~18 amd64 Userspace interface to nouveau-sp
ii libdrm-radeon1 2.4.101-2~18 amd64 Userspace interface to radeon-spe
ii libdrm2:amd64 2.4.101-2~18 amd64 Userspace interface to kernel DRM
ii libedit2:amd64 3.1-20170329 amd64 BSD editline and history librarie
ii libegl-mesa0:a 20.0.8-0ubun amd64 free implementation of the EGL AP
ii libegl1:amd64 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libegl1-mesa-d 20.0.8-0ubun amd64 free implementation of the EGL AP
ii libelf1:amd64 0.170-0.4ubu amd64 library to read and write ELF fil
ii libepoxy0:amd6 1.4.3-1 amd64 OpenGL function pointer managemen
ii liberror-perl 0.17025-1 all Perl module for error/exception h
ii libevdev2:amd6 1.5.8+dfsg-1 amd64 wrapper library for evdev devices
ii libexpat1:amd6 2.2.5-3ubunt amd64 XML parsing C library - runtime l
ii libexpat1-dev: 2.2.5-3ubunt amd64 XML parsing C library - developme
ii libext2fs2:amd 1.44.1-1ubun amd64 ext2/ext3/ext4 file system librar
ii libfdisk1:amd6 2.31.1-0.4ub amd64 fdisk partitioning library
ii libffi6:amd64 3.2.1-8 amd64 Foreign Function Interface librar
ii libfontconfig1 2.12.6-0ubun amd64 generic font configuration librar
ii libfreetype6:a 2.8.1-2ubunt amd64 FreeType 2 font engine, shared li
ii libfreetype6-d 2.8.1-2ubunt amd64 FreeType 2 font engine, developme
ii libgbm1:amd64 20.0.8-0ubun amd64 generic buffer management API --
ii libgcc-7-dev:a 7.4.0-1ubunt amd64 GCC support library (development
ii libgcc1:amd64 1:8.3.0-6ubu amd64 GCC support library
ii libgcrypt20:am 1.8.1-4ubunt amd64 LGPL Crypto library - runtime lib
ii libgdbm-compat 1.14.1-6 amd64 GNU dbm database routines (legacy
ii libgdbm5:amd64 1.14.1-6 amd64 GNU dbm database routines (runtim
ii libgdk-pixbuf2 2.36.11-2 amd64 GDK Pixbuf library
ii libgdk-pixbuf2 2.36.11-2 amd64 GDK Pixbuf library (thumbnailer)
ii libgdk-pixbuf2 2.36.11-2 all GDK Pixbuf library - data files
ii libgeoclue-2-0 2.4.7-1ubunt amd64 convenience library to interact w
ii libgeoip1:amd6 1.6.12-1 amd64 non-DNS IP-to-country resolver li
ii libgfortran4:a 7.4.0-1ubunt amd64 Runtime library for GNU Fortran a
ii libgirepositor 1.56.1-1 amd64 Library for handling GObject intr
ii libgl1:amd64 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libgl1-mesa-de 20.0.8-0ubun amd64 free implementation of the OpenGL
ii libgl1-mesa-dr 20.0.8-0ubun amd64 free implementation of the OpenGL
ii libgl1-mesa-gl 20.0.8-0ubun amd64 transitional dummy package
ii libglapi-mesa: 20.0.8-0ubun amd64 free implementation of the GL API
ii libgles1:amd64 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libgles2:amd64 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libgles2-mesa- 20.0.8-0ubun amd64 free implementation of the OpenGL
ii libglib2.0-0:a 2.56.4-0ubun amd64 GLib library of C routines
ii libglu1-mesa:a 9.0.0-2.1bui amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-d 9.0.0-2.1bui amd64 Mesa OpenGL utility library -- de
ii libglvnd-core- 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libglvnd-dev:a 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libglvnd0:amd6 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libglx-mesa0:a 20.0.8-0ubun amd64 free implementation of the OpenGL
ii libglx0:amd64 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libgmp10:amd64 2:6.1.2+dfsg amd64 Multiprecision arithmetic library
ii libgnutls30:am 3.5.18-1ubun amd64 GNU TLS library - main runtime li
ii libgomp1:amd64 8.3.0-6ubunt amd64 GCC OpenMP (GOMP) support library
ii libgpg-error0: 1.27-6 amd64 library for common error values a
ii libgraphite2-3 1.3.11-2 amd64 Font rendering engine for Complex
ii libgssapi-krb5 1.16-2ubuntu amd64 MIT Kerberos runtime libraries -
ii libgssapi3-hei 7.5.0+dfsg-1 amd64 Heimdal Kerberos - GSSAPI support
ii libgstreamer-p 1.14.5-0ubun amd64 GStreamer libraries from the "bas
ii libgstreamer1. 1.14.5-0ubun amd64 Core GStreamer libraries and elem
ii libgtk-3-0:amd 3.22.30-1ubu amd64 GTK+ graphical user interface lib
ii libgtk-3-bin 3.22.30-1ubu amd64 programs for the GTK+ graphical u
ii libgtk-3-commo 3.22.30-1ubu all common files for the GTK+ graphic
ii libgudev-1.0-0 1:232-2 amd64 GObject-based wrapper library for
ii libharfbuzz0b: 1.7.2-1ubunt amd64 OpenType text shaping engine (sha
ii libhcrypto4-he 7.5.0+dfsg-1 amd64 Heimdal Kerberos - crypto library
ii libhdf5-100:am 1.10.0-patch amd64 Hierarchical Data Format 5 (HDF5)
ii libhdf5-cpp-10 1.10.0-patch amd64 Hierarchical Data Format 5 (HDF5)
ii libhdf5-dev 1.10.0-patch amd64 Hierarchical Data Format 5 (HDF5)
ii libhdf5-serial 1.10.0-patch all transitional dummy package
ii libheimbase1-h 7.5.0+dfsg-1 amd64 Heimdal Kerberos - Base library
ii libheimntlm0-h 7.5.0+dfsg-1 amd64 Heimdal Kerberos - NTLM support l
ii libhogweed4:am 3.4-1 amd64 low level cryptographic library (
ii libhx509-5-hei 7.5.0+dfsg-1 amd64 Heimdal Kerberos - X509 support l
ii libhyphen0:amd 2.8.8-5 amd64 ALTLinux hyphenation library - sh
ii libice6:amd64 2:1.0.9-2 amd64 X11 Inter-Client Exchange library
ii libicu60:amd64 60.2-3ubuntu amd64 International Components for Unic
ii libidn11:amd64 1.33-2.1ubun amd64 GNU Libidn library, implementatio
ii libidn2-0:amd6 2.0.4-1.1bui amd64 Internationalized domain names (I
ii libinput-bin 1.10.4-1ubun amd64 input device management and event
ii libinput10:amd 1.10.4-1ubun amd64 input device management and event
ii libip4tc0:amd6 1.6.1-2ubunt amd64 netfilter libip4tc library
ii libisc169:amd6 1:9.11.3+dfs amd64 ISC Shared Library used by BIND
ii libisccc160:am 1:9.11.3+dfs amd64 Command Channel Library used by B
ii libisccfg160:a 1:9.11.3+dfs amd64 Config File Handling Library used
ii libisl19:amd64 0.19-1 amd64 manipulating sets and relations o
ii libitm1:amd64 8.3.0-6ubunt amd64 GNU Transactional Memory Library
ii libjbig0:amd64 2.1-3.1build amd64 JBIGkit libraries
ii libjpeg-dev:am 8c-2ubuntu8 amd64 Independent JPEG Group's JPEG run
ii libjpeg-turbo8 1.5.2-0ubunt amd64 IJG JPEG compliant runtime librar
ii libjpeg-turbo8 1.5.2-0ubunt amd64 Development files for the IJG JPE
ii libjpeg8:amd64 8c-2ubuntu8 amd64 Independent JPEG Group's JPEG run
ii libjpeg8-dev:a 8c-2ubuntu8 amd64 Independent JPEG Group's JPEG run
ii libjson-c3:amd 0.12.1-1.3ub amd64 JSON manipulation library - share
ii libjson-glib-1 1.4.2-3ubunt amd64 GLib JSON manipulation library
ii libjson-glib-1 1.4.2-3ubunt all GLib JSON manipulation library (c
ii libk5crypto3:a 1.16-2ubuntu amd64 MIT Kerberos runtime libraries -
ii libkeyutils1:a 1.5.9-9.2ubu amd64 Linux Key Management Utilities (l
ii libkmod2:amd64 24-1ubuntu3. amd64 libkmod shared library
ii libkrb5-26-hei 7.5.0+dfsg-1 amd64 Heimdal Kerberos - libraries
ii libkrb5-3:amd6 1.16-2ubuntu amd64 MIT Kerberos runtime libraries
ii libkrb5support 1.16-2ubuntu amd64 MIT Kerberos runtime libraries -
ii libksba8:amd64 1.3.5-2 amd64 X.509 and CMS support library
ii liblcms2-2:amd 2.9-1ubuntu0 amd64 Little CMS 2 color management lib
ii libldap-2.4-2: 2.4.45+dfsg- amd64 OpenLDAP libraries
ii libldap-common 2.4.45+dfsg- all OpenLDAP common files for librari
ii libllvm10:amd6 1:10.0.0-4ub amd64 Modular compiler and toolchain te
ii liblsan0:amd64 8.3.0-6ubunt amd64 LeakSanitizer -- a memory leak de
ii liblwres160:am 1:9.11.3+dfs amd64 Lightweight Resolver Library used
ii liblz4-1:amd64 0.0~r131-2ub amd64 Fast LZ compression algorithm lib
ii liblzma5:amd64 5.2.2-1.3 amd64 XZ-format compression library
ii libmbim-glib4: 1.18.0-1~ubu amd64 Support library to use the MBIM p
ii libmbim-proxy 1.18.0-1~ubu amd64 Proxy to communicate with MBIM po
ii libmm-glib0:am 1.10.0-1~ubu amd64 D-Bus service for managing modems
ii libmount1:amd6 2.31.1-0.4ub amd64 device mounting library
ii libmpc3:amd64 1.1.0-1 amd64 multiple precision complex floati
ii libmpdec2:amd6 2.4.2-1ubunt amd64 library for decimal floating poin
ii libmpfr6:amd64 4.0.1-1 amd64 multiple precision floating-point
ii libmpx2:amd64 8.3.0-6ubunt amd64 Intel memory protection extension
ii libmtdev1:amd6 1.1.5-1ubunt amd64 Multitouch Protocol Translation L
ii libncurses5:am 6.1-1ubuntu1 amd64 shared libraries for terminal han
ii libncursesw5:a 6.1-1ubuntu1 amd64 shared libraries for terminal han
ii libnettle6:amd 3.4-1 amd64 low level cryptographic library (
ii libnghttp2-14: 1.30.0-1ubun amd64 library implementing HTTP/2 proto
ii libnl-3-200:am 3.2.29-0ubun amd64 library for dealing with netlink
ii libnl-genl-3-2 3.2.29-0ubun amd64 library for dealing with netlink
ii libnorm1:amd64 1.5r6+dfsg1- amd64 NACK-Oriented Reliable Multicast
ii libnpth0:amd64 1.5-3 amd64 replacement for GNU Pth using sys
ii libnss-mdns:am 0.10-8ubuntu amd64 NSS module for Multicast DNS name
ii libnss-systemd 237-3ubuntu1 amd64 nss module providing dynamic user
ii libnvinfer5 5.1.5-1+cuda amd64 TensorRT runtime libraries
ii libogg0:amd64 1.3.2-1 amd64 Ogg bitstream library
ii libopengl0:amd 1.0.0-2ubunt amd64 Vendor neutral GL dispatch librar
ii libopus0:amd64 1.1.2-1ubunt amd64 Opus codec runtime library
ii liborc-0.4-0:a 1:0.4.28-1 amd64 Library of Optimized Inner Loops
ii libp11-kit0:am 0.23.9-2 amd64 library for loading and coordinat
ii libpam-cap:amd 1:2.25-1.2 amd64 POSIX 1003.1e capabilities (PAM m
ii libpam-modules 1.1.8-3.6ubu amd64 Pluggable Authentication Modules
ii libpam-modules 1.1.8-3.6ubu amd64 Pluggable Authentication Modules
ii libpam-runtime 1.1.8-3.6ubu all Runtime support for the PAM libra
ii libpam-systemd 237-3ubuntu1 amd64 system and service manager - PAM
ii libpam0g:amd64 1.1.8-3.6ubu amd64 Pluggable Authentication Modules
ii libpango-1.0-0 1.40.14-1ubu amd64 Layout and rendering of internati
ii libpangocairo- 1.40.14-1ubu amd64 Layout and rendering of internati
ii libpangoft2-1. 1.40.14-1ubu amd64 Layout and rendering of internati
ii libpciaccess0: 0.14-1 amd64 Generic PCI access library for X
ii libpcre3:amd64 2:8.39-9 amd64 Old Perl 5 Compatible Regular Exp
ii libpcsclite1:a 1.8.23-1 amd64 Middleware to access a smart card
ii libperl5.26:am 5.26.1-6ubun amd64 shared Perl library
ii libpgm-5.2-0:a 5.2.122~dfsg amd64 OpenPGM shared library
ii libpipeline1:a 1.5.0-1 amd64 pipeline manipulation library
ii libpixman-1-0: 0.34.0-2 amd64 pixel-manipulation library for X
ii libpng-dev:amd 1.6.34-1ubun amd64 PNG library - development (versio
ii libpng16-16:am 1.6.34-1ubun amd64 PNG library - runtime (version 1.
ii libpolkit-gobj 0.105-20ubun amd64 PolicyKit Authorization API
ii libprocps6:amd 2:3.3.12-3ub amd64 library for accessing process inf
ii libproxy1v5:am 0.4.15-1 amd64 automatic proxy configuration man
ii libpsl5:amd64 0.19.1-5buil amd64 Library for Public Suffix List (s
ii libpthread-stu 0.3-4 amd64 pthread stubs not provided by nat
ii libpython-stdl 2.7.15~rc1-1 amd64 interactive high-level object-ori
ii libpython2.7-m 2.7.17-1~18. amd64 Minimal subset of the Python lang
ii libpython2.7-s 2.7.17-1~18. amd64 Interactive high-level object-ori
ii libpython3-dev 3.6.7-1~18.0 amd64 header files and a static library
ii libpython3-std 3.6.7-1~18.0 amd64 interactive high-level object-ori
ii libpython3.6:a 3.6.8-1~18.0 amd64 Shared Python runtime library (ve
ii libpython3.6-d 3.6.8-1~18.0 amd64 Header files and a static library
ii libpython3.6-m 3.6.8-1~18.0 amd64 Minimal subset of the Python lang
ii libpython3.6-s 3.6.8-1~18.0 amd64 Interactive high-level object-ori
ii libqmi-glib5:a 1.22.0-1.2~u amd64 Support library to use the Qualco
ii libqmi-proxy 1.22.0-1.2~u amd64 Proxy to communicate with QMI por
ii libqt5concurre 5.9.5+dfsg-0 amd64 Qt 5 concurrent module
ii libqt5core5a:a 5.9.5+dfsg-0 amd64 Qt 5 core module
ii libqt5dbus5:am 5.9.5+dfsg-0 amd64 Qt 5 D-Bus module
ii libqt5designer 5.9.5-0ubunt amd64 Qt 5 designer module
ii libqt5designer 5.9.5-0ubunt amd64 Qt 5 Designer components module
ii libqt5gui5:amd 5.9.5+dfsg-0 amd64 Qt 5 GUI module
ii libqt5help5:am 5.9.5-0ubunt amd64 Qt 5 help module
ii libqt5network5 5.9.5+dfsg-0 amd64 Qt 5 network module
ii libqt5opengl5: 5.9.5+dfsg-0 amd64 Qt 5 OpenGL module
ii libqt5opengl5- 5.9.5+dfsg-0 amd64 Qt 5 OpenGL library development f
ii libqt5position 5.9.5+dfsg-0 amd64 Qt Positioning module
ii libqt5printsup 5.9.5+dfsg-0 amd64 Qt 5 print support module
ii libqt5qml5:amd 5.9.5-0ubunt amd64 Qt 5 QML module
ii libqt5quick5:a 5.9.5-0ubunt amd64 Qt 5 Quick library
ii libqt5quickwid 5.9.5-0ubunt amd64 Qt 5 Quick Widgets library
ii libqt5sensors5 5.9.5-0ubunt amd64 Qt Sensors module
ii libqt5sql5:amd 5.9.5+dfsg-0 amd64 Qt 5 SQL module
ii libqt5sql5-sql 5.9.5+dfsg-0 amd64 Qt 5 SQLite 3 database driver
ii libqt5svg5:amd 5.9.5-0ubunt amd64 Qt 5 SVG module
ii libqt5test5:am 5.9.5+dfsg-0 amd64 Qt 5 test module
ii libqt5webchann 5.9.5-0ubunt amd64 Web communication library for Qt
ii libqt5webkit5: 5.212.0~alph amd64 Web content engine library for Qt
ii libqt5widgets5 5.9.5+dfsg-0 amd64 Qt 5 widgets module
ii libqt5xml5:amd 5.9.5+dfsg-0 amd64 Qt 5 XML module
ii libquadmath0:a 8.3.0-6ubunt amd64 GCC Quad-Precision Math Library
ii libreadline7:a 7.0-3 amd64 GNU readline and history librarie
ii librest-0.7-0: 0.8.0-2 amd64 REST service access library
ii libroken18-hei 7.5.0+dfsg-1 amd64 Heimdal Kerberos - roken support
ii librsvg2-2:amd 2.40.20-2 amd64 SAX-based renderer library for SV
ii librsvg2-commo 2.40.20-2 amd64 SAX-based renderer library for SV
ii librtmp1:amd64 2.4+20151223 amd64 toolkit for RTMP streams (shared
ii libsasl2-2:amd 2.1.27~101-g amd64 Cyrus SASL - authentication abstr
ii libsasl2-modul 2.1.27~101-g amd64 Cyrus SASL - pluggable authentica
ii libseccomp2:am 2.4.1-0ubunt amd64 high level interface to Linux sec
ii libselinux1:am 2.7-2build2 amd64 SELinux runtime shared libraries
ii libsemanage-co 2.7-2build2 all Common files for SELinux policy m
ii libsemanage1:a 2.7-2build2 amd64 SELinux policy management library
ii libsensors4:am 1:3.4.0-4 amd64 library to read temperature/volta
ii libsepol1:amd6 2.7-1 amd64 SELinux library for manipulating
ii libsm6:amd64 2:1.2.2-1 amd64 X11 Session Management library
ii libsmartcols1: 2.31.1-0.4ub amd64 smart column output alignment lib
ii libsodium23:am 1.0.16-2 amd64 Network communication, cryptograp
ii libsoup-gnome2 2.62.1-1ubun amd64 HTTP library implementation in C
ii libsoup2.4-1:a 2.62.1-1ubun amd64 HTTP library implementation in C
ii libsqlite3-0:a 3.22.0-1ubun amd64 SQLite 3 shared library
ii libss2:amd64 1.44.1-1ubun amd64 command-line interface parsing li
ii libssl1.0.0:am 1.0.2n-1ubun amd64 Secure Sockets Layer toolkit - sh
ii libssl1.1:amd6 1.1.1-1ubunt amd64 Secure Sockets Layer toolkit - sh
ii libstdc++-7-de 7.4.0-1ubunt amd64 GNU Standard C++ Library v3 (deve
ii libstdc++6:amd 8.3.0-6ubunt amd64 GNU Standard C++ Library v3
ii libsystemd0:am 237-3ubuntu1 amd64 systemd utility library
ii libsz2:amd64 0.3.2-2 amd64 Adaptive Entropy Coding library -
ii libtasn1-6:amd 4.13-2 amd64 Manage ASN.1 structures (runtime)
ii libthai-data 0.1.27-2 all Data files for Thai language supp
ii libthai0:amd64 0.1.27-2 amd64 Thai language support library
ii libtheora0:amd 1.1.1+dfsg.1 amd64 Theora Video Compression Codec
ii libtiff5:amd64 4.0.9-5ubunt amd64 Tag Image File Format (TIFF) libr
ii libtinfo5:amd6 6.1-1ubuntu1 amd64 shared low-level terminfo library
ii libtsan0:amd64 8.3.0-6ubunt amd64 ThreadSanitizer -- a Valgrind-bas
ii libubsan0:amd6 7.4.0-1ubunt amd64 UBSan -- undefined behaviour sani
ii libudev1:amd64 237-3ubuntu1 amd64 libudev shared library
ii libunistring2: 0.9.9-0ubunt amd64 Unicode string library for C
ii libusb-1.0-0:a 2:1.0.21-2 amd64 userspace USB programming library
ii libuuid1:amd64 2.31.1-0.4ub amd64 Universally Unique ID library
ii libvisual-0.4- 0.4.0-11 amd64 audio visualization framework
ii libvorbis0a:am 1.3.5-4.2 amd64 decoder library for Vorbis Genera
ii libvorbisenc2: 1.3.5-4.2 amd64 encoder library for Vorbis Genera
ii libwacom-bin 0.29-1 amd64 Wacom model feature query library
ii libwacom-commo 0.29-1 all Wacom model feature query library
ii libwacom2:amd6 0.29-1 amd64 Wacom model feature query library
ii libwayland-bin 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwayland-cli 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwayland-cur 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwayland-dev 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwayland-egl 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwayland-ser 1.16.0-1ubun amd64 wayland compositor infrastructure
ii libwebp6:amd64 0.6.1-2 amd64 Lossy compression of digital phot
ii libwind0-heimd 7.5.0+dfsg-1 amd64 Heimdal Kerberos - stringprep imp
ii libwoff1:amd64 1.0.2-1build amd64 library for converting fonts to W
ii libx11-6:amd64 2:1.6.4-3ubu amd64 X11 client-side library
ii libx11-data 2:1.6.4-3ubu all X11 client-side library
ii libx11-dev:amd 2:1.6.4-3ubu amd64 X11 client-side library (developm
ii libx11-doc 2:1.6.4-3ubu all X11 client-side library (developm
ii libx11-xcb-dev 2:1.6.4-3ubu amd64 Xlib/XCB interface library (devel
ii libx11-xcb1:am 2:1.6.4-3ubu amd64 Xlib/XCB interface library
ii libxau-dev:amd 1:1.0.8-1ubu amd64 X11 authorisation library (develo
ii libxau6:amd64 1:1.0.8-1ubu amd64 X11 authorisation library
ii libxcb-dri2-0: 1.13-2~ubunt amd64 X C Binding, dri2 extension
ii libxcb-dri2-0- 1.13-2~ubunt amd64 X C Binding, dri2 extension, deve
ii libxcb-dri3-0: 1.13-2~ubunt amd64 X C Binding, dri3 extension
ii libxcb-dri3-de 1.13-2~ubunt amd64 X C Binding, dri3 extension, deve
ii libxcb-glx0:am 1.13-2~ubunt amd64 X C Binding, glx extension
ii libxcb-glx0-de 1.13-2~ubunt amd64 X C Binding, glx extension, devel
ii libxcb-icccm4: 0.4.1-1ubunt amd64 utility libraries for X C Binding
ii libxcb-image0: 0.4.0-1build amd64 utility libraries for X C Binding
ii libxcb-keysyms 0.4.0-1 amd64 utility libraries for X C Binding
ii libxcb-present 1.13-2~ubunt amd64 X C Binding, present extension, d
ii libxcb-present 1.13-2~ubunt amd64 X C Binding, present extension
ii libxcb-randr0: 1.13-2~ubunt amd64 X C Binding, randr extension
ii libxcb-randr0- 1.13-2~ubunt amd64 X C Binding, randr extension, dev
ii libxcb-render- 0.3.9-1 amd64 utility libraries for X C Binding
ii libxcb-render0 1.13-2~ubunt amd64 X C Binding, render extension
ii libxcb-render0 1.13-2~ubunt amd64 X C Binding, render extension, de
ii libxcb-shape0: 1.13-2~ubunt amd64 X C Binding, shape extension
ii libxcb-shape0- 1.13-2~ubunt amd64 X C Binding, shape extension, dev
ii libxcb-shm0:am 1.13-2~ubunt amd64 X C Binding, shm extension
ii libxcb-sync-de 1.13-2~ubunt amd64 X C Binding, sync extension, deve
ii libxcb-sync1:a 1.13-2~ubunt amd64 X C Binding, sync extension
ii libxcb-util1:a 0.4.0-0ubunt amd64 utility libraries for X C Binding
ii libxcb-xfixes0 1.13-2~ubunt amd64 X C Binding, xfixes extension
ii libxcb-xfixes0 1.13-2~ubunt amd64 X C Binding, xfixes extension, de
ii libxcb-xineram 1.13-2~ubunt amd64 X C Binding, xinerama extension
ii libxcb-xkb1:am 1.13-2~ubunt amd64 X C Binding, XKEYBOARD extension
ii libxcb1:amd64 1.13-2~ubunt amd64 X C Binding
ii libxcb1-dev:am 1.13-2~ubunt amd64 X C Binding, development files
ii libxcomposite1 1:0.4.4-2 amd64 X11 Composite extension library
ii libxcursor1:am 1:1.1.15-1 amd64 X cursor management library
ii libxdamage-dev 1:1.1.4-3 amd64 X11 damaged region extension libr
ii libxdamage1:am 1:1.1.4-3 amd64 X11 damaged region extension libr
ii libxdmcp-dev:a 1:1.1.2-3 amd64 X11 authorisation library (develo
ii libxdmcp6:amd6 1:1.1.2-3 amd64 X11 Display Manager Control Proto
ii libxext-dev:am 2:1.3.3-1 amd64 X11 miscellaneous extensions libr
ii libxext6:amd64 2:1.3.3-1 amd64 X11 miscellaneous extension libra
ii libxfixes-dev: 1:5.0.3-1 amd64 X11 miscellaneous 'fixes' extensi
ii libxfixes3:amd 1:5.0.3-1 amd64 X11 miscellaneous 'fixes' extensi
ii libxi6:amd64 2:1.7.9-1 amd64 X11 Input extension library
ii libxinerama1:a 2:1.1.3-1 amd64 X11 Xinerama extension library
ii libxkbcommon-x 0.8.2-1~ubun amd64 library to create keymaps with th
ii libxkbcommon0: 0.8.2-1~ubun amd64 library interface to the XKB comp
ii libxml2:amd64 2.9.4+dfsg1- amd64 GNOME XML library
ii libxmuu1:amd64 2:1.1.2-2 amd64 X11 miscellaneous micro-utility l
ii libxrandr2:amd 2:1.5.1-1 amd64 X11 RandR extension library
ii libxrender1:am 1:0.9.10-1 amd64 X Rendering Extension client libr
ii libxshmfence-d 1.3-1 amd64 X shared memory fences - developm
ii libxshmfence1: 1.3-1 amd64 X shared memory fences - shared l
ii libxslt1.1:amd 1.1.29-5ubun amd64 XSLT 1.0 processing library - run
ii libxtst6:amd64 2:1.2.3-1 amd64 X11 Testing -- Record extension l
ii libxxf86vm-dev 1:1.1.4-1 amd64 X11 XFree86 video mode extension
ii libxxf86vm1:am 1:1.1.4-1 amd64 X11 XFree86 video mode extension
ii libzmq3-dev:am 4.2.5-1ubunt amd64 lightweight messaging kernel (dev
ii libzmq5:amd64 4.2.5-1ubunt amd64 lightweight messaging kernel (sha
ii libzstd1:amd64 1.3.3+dfsg-2 amd64 fast lossless compression algorit
When I set QT_DEBUG_PLUGINS="1", no lib* packages uninstalled errors raised, it just says that "qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found."
@vandeppce I edited your comment with minor formatting. I hope you don't mind.
@vandeppce I edited your comment with minor formatting. I hope you don't mind.
Of course not. I have been trapped in this problem for several days, could you please give me some idea on it? Is it a qt problem, or a mayavi problem? By the way, I used it in a Docker container, on a Jupyter Notebook.
Can you tell us what happens if you run the following commands - print(mlab.show_pipeline())
and print(mlab.options)
.
Also, I'm not sure how you are interacting with the notebook in the container - are you setting up an X server? Are you explicitly using the null backend or using offscreen rendering?
Can you tell us what happens if you run the following commands -
print(mlab.show_pipeline())
andprint(mlab.options)
.Also, I'm not sure how you are interacting with the notebook in the container - are you setting up an X server? Are you explicitly using the null backend or using offscreen rendering?
Thanks for your reply. I can not run the above commands, because I can not import mayavi.mlab successfully. I interact with the notebook in the container with a browser, I do not set up an X server, maybe it is the reason? I successfully install mayavi on my Mac osx laptop, but I still wonder the reason for why it failed in the container.
I have the same error? Is there anyone knowing how to solve this problem
I have the same issue
In /anaconda3/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.dylib:
Plugin uses incompatible Qt library (5.13.0) [release]
"The plugin '/anaconda3/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.dylib' uses incompatible Qt library. (5.13.0) [release]"
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/anaconda3/bin/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Abort trap: 6
Any tips?
miniconda environment with python 3.7, mayavi 4.7.1: same error when importing mlab
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" [...]
any help is appreciated
If you import multiple packages in your .py script, you may try import mayavi at the first place. For me, when I change from:
import os
import numpy as np
...
from mayavi import mlab
to
from mayavi import mlab
import os
import numpy as np
...
the issue disappeared.
I solved this problem by “sudo apt-get install libxcb-xinerama0” Hope it works for you
changing the order did fix the issue for me
I have had this issue for a week now and nothing helped -- until I ran "sudo apt-get install libxcb-xinerama0"! Thanks a lot @QYWT
from mayavi import mlab
crashes the process. Running on Ubuntu Bionic, headless server, conda environment, Python 3.8.8. Below are more details; none of the things proposed in this thread.
I was not expecting the QT display to work anyway on a headless server, but the hard 'abort' crash is brutal and there should be a recoverable state. I know this is probably easier said than done.
>>> from mayavi import mlab
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted (core dumped)
apt install libproj-dev proj-bin
and libxcb-xinerama0
is also installed
mamba install -c conda-forge matplotlib vtk wordcloud pyqt mayavi
#conda list | grep qt
pyqt 5.12.3 py38h578d9bd_7 conda-forge
pyqt-impl 5.12.3 py38h7400c14_7 conda-forge
pyqt5-sip 4.19.18 py38h709712a_7 conda-forge
pyqtchart 5.12 py38h7400c14_7 conda-forge
pyqtwebengine 5.12.1 py38h7400c14_7 conda-forge
qt 5.12.9 hda022c4_4 conda-forge
I installed PyQt 5.14.2 as a workaround as suggested in tasmota/tasmotizer#71 since I am still on Debian Buster. It works for me now.
If you import multiple packages in your .py script, you may try import mayavi at the first place. For me, when I change from:
import os import numpy as np ... from mayavi import mlab
to
from mayavi import mlab import os import numpy as np ...
the issue disappeared.
This worked for me.
I have this same issue with importing mlab on headless Debian 5.15 using conda. The suggested fixes here don't work (fails on import of mlab so ordering not the problem and already have libxcb-xinerama0
, plus all the others listed here https://github.com/enthought/envisage/blob/23ea9885a75044395942305c1f9edee077a9ffcd/.travis.yml#L9-L15 installed).
Does anyone have any other suggestions?
I fixed this by running Xvfb
as per instructions here: https://docs.enthought.com/mayavi/mayavi/tips.html#rendering-using-the-virtual-framebuffer