# \<\< Anaconda and Ubuntu 21.10 \>\>

**URL:** <https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672>\
**Category:** Product Help\
**Created:** [November 25, 2021, 10:42pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672 "2021-11-25T22:42:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![icamps](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/icamps/32/125_2.png) [@icamps](https://forum.anaconda.com/u/icamps)\
**Post date:** [November 25, 2021, 10:42pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672/1 "2021-11-25T22:42:06Z")

</div>

I updated my Ubuntu box few days ago to latest version 21.10.

Now, I am getting several errors running well-functioning Pythons software. Even the Anaconda Navigator (updated too) isn’t working. Here is the error message:

```auto
2021-11-24 11:03:24,496 - WARNING linux_scaling.get_scaling_factor_using_dbus:39
Can't detect system scaling factor settings for primary monitor.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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)

```

Using `export QT_DEBUG_PLUGINS=1` I got:

```auto
2021-11-24 11:09:24,211 - WARNING linux_scaling.get_scaling_factor_using_dbus:39
Can't detect system scaling factor settings for primary monitor.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QFactoryLoader::QFactoryLoader() checking directory path "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "webgl"
        ]
    },
    "archreq": 0,
    "className": "QWebGLIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
Found metadata in lib /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 330752
}

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/icamps/anaconda3/bin/platforms" ...
Cannot load library /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: _ZTI23QPlatformVulkanInstance, version Qt_5_PRIVATE_API)
QLibraryPrivate::loadPlugin failed on "/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (/home/icamps/anaconda3/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: _ZTI23QPlatformVulkanInstance, version Qt_5_PRIVATE_API)"
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.

```

I appreciate any help.

Camps

---

<div class="post-metadata">

**Author:** ![Peter\_Wang](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/peter_wang/32/65_2.png) [@Peter\_Wang](https://forum.anaconda.com/u/Peter_Wang)\
**Post date:** [November 29, 2021, 6:53pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672/2 "2021-11-29T18:53:35Z")

</div>

Hi Camps,

There could be a number of things going on here. First off, can you tell us if you have set `$LD_LIBRARY_PATH` or `$LD_PRELOAD`?

You might also try following the instructions here, to see if that helps:  
[https://bbs.archlinux.org/viewtopic.php?id=247030](https://bbs.archlinux.org/viewtopic.php?id=247030)

---

<div class="post-metadata">

**Author:** ![Peter\_Wang](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/peter_wang/32/65_2.png) [@Peter\_Wang](https://forum.anaconda.com/u/Peter_Wang)\
**Post date:** [November 29, 2021, 11:00pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672/3 "2021-11-29T23:00:45Z")

</div>

Also, did you by any chance do a `pip install` for PyQt?

---

<div class="post-metadata">

**Author:** ![icamps](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/icamps/32/125_2.png) [@icamps](https://forum.anaconda.com/u/icamps)\
**Post date:** [November 29, 2021, 11:06pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672/4 "2021-11-29T23:06:55Z")

</div>

Hi @Peter_Wang . Thanks for your answer.

I didn’t changed/add nothing in `$LD_LIBRARY_PATH` neither `$LD_PRELOAD` related to Conda/Python by hand. I just updated my Ubuntu, from 21.04 to 21.10. In 21.04, everything with Conda was running well.

The `$LD_LIBRARY_PATH` is:

`/software/mopac/mopac_cuda_5.5_libs:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/libfabric/lib:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib/release:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib:/software/intel/compilers_and_libraries_2020.4.304/linux/compiler/lib/intel64_lin:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/libfabric/lib:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib/release:/software/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib:/software/intel/compilers_and_libraries_2020.4.304/linux/mkl/lib/intel64_lin:/software/intel/compilers_and_libraries_2020.4.304/linux/tbb/lib/intel64/gcc4.8:/software/intel/debugger_2020/python/intel64/lib:/software/intel/debugger_2020/libipt/intel64/lib:/usr/local/cuda-11.2//lib64:/usr/local/cuda-11.2//lib:/software/SIESTA-Libs/elpa-2020.11.001/lib:/home/icamps/bin/mmpbsa/apbs-1.3-amd64/lib:/software/VESTA-gtk3`

And `$LD_PRELOAD` is empty.

I look the link you send me but didn’t found how to solve my issue.

---

<div class="post-metadata">

**Author:** ![icamps](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/icamps/32/125_2.png) [@icamps](https://forum.anaconda.com/u/icamps)\
**Post date:** [November 30, 2021, 1:03pm UTC](https://forum.anaconda.com/t/anaconda-and-ubuntu-21-10/672/5 "2021-11-30T13:03:23Z")

</div>

Yep.

Here is the list of all packages installed:

```auto

Package Version
----------------------- -------------
apturl 0.5.2
argcomplete 1.8.1
bcrypt 3.1.7
binwalk 2.3.2
blinker 1.4
Brlapi 0.8.2
cclib 1.6.2
certifi 2020.6.20
cftime 1.5.1.1
chardet 4.0.0
chrome-gnome-shell 0.0.0
click 7.1.2
colorama 0.4.4
command-not-found 0.3
cryptography 3.3.2
cupshelpers 1.0
cycler 0.11.0
dbus-python 1.2.16
defer 1.0.6
defusedxml 0.6.0
diffoscope 180
distro 1.5.0
distro-info 1.0
docopt 0.6.2
DSV 1.4.1
duplicity 0.8.20
EditorConfig 0.12.2
enjarify 1.0.3
fasteners 0.14.1
future 0.18.2
httplib2 0.18.1
idna 2.10
imageio 2.10.4
importlib-metadata 4.0.1
jeepney 0.7.1
jsbeautifier 1.13.0
jsondiff 1.1.1
keyring 23.0.1
kiwisolver 1.3.2
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.5
libarchive-c 2.9
lockfile 0.12.2
louis 3.18.0
macaroonbakery 1.3.1
Mako 1.1.3
MarkupSafe 1.1.1
matplotlib 3.4.3
membernator 1.1.0
monotonic 1.5
more-itertools 4.2.0
msgpack 1.0.0
msgpack-numpy 0.4.4
natsort 7.1.0
netCDF4 1.5.8
netifaces 0.10.9
networkx 2.6.3
numpy 1.21.4
oauthlib 3.1.0
olefile 0.46
paramiko 2.7.2
pdfminer.six 20200726
pexpect 4.8.0
Pillow 8.4.0
pip 20.3.4
progressbar 2.5
protobuf 3.12.4
pycairo 1.16.2
pycrypto 2.6.1
pycups 2.0.1
pygame 1.9.6
Pygments 2.7.1
PyGObject 3.40.1
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.4.0
PyOpenGL 3.1.5
pyparsing 3.0.6
PyPDF2 1.26.0
PyQt5 5.15.6
PyQt5-Qt5 5.15.2
PyQt5-sip 12.9.0
pyRFC3339 1.1
python-apt 2.2.1
python-dateutil 2.8.2
python-debian 0.1.39ubuntu1
python-magic 0.4.20
pytz 2021.1
PyWavelets 1.2.0
pyxattr 0.7.2
pyxdg 0.27
PyYAML 5.3.1
reportlab 3.5.66
requests 2.25.1
rpm 4.16.1.2
scikit-image 0.18.3
scipy 1.7.2
screen-resolution-extra 0.0.0
SecretStorage 3.3.1
setuptools 52.0.0
simplejson 3.17.2
sisl 0.11.0
six 1.16.0
sortedcontainers 2.1.0
stepic 0.5.0
systemd-python 234
tifffile 2021.11.2
tlsh 0.2.0
tqdm 4.62.3
u-msgpack-python 2.3.0
ubuntu-advantage-tools 27.4
ubuntu-drivers-common 0.0.0
ufw 0.36.1
unattended-upgrades 0.1
urllib3 1.26.5
usb-creator 0.3.7
vboxapi 1.0
wadllib 1.3.5
wheel 0.34.2
wxPython 4.0.7
xdg 5
xkit 0.0.0
zipp 1.0.0

```
