Could not Initialize GLX after Conda Update --All
See original GitHub issueProblem Description
I’m using Spyder on a remote server by SSH and X11 forwarding. After I use conda update --all
, spyder stopped launching and has the error: Could not initialize GLX.
I have tried adding these lines in start.py
import ctypes
ctypes.CDLL("libGL.so.1", mode=ctypes.RTLD_GLOBAL)
from PyQt5 import QtWebEngineWidgets
and also
export __GLX_VENDOR_LIBRARY_NAME=nvidia
but none of them works.
I also tried
conda install qt=5.6.2
but then I encounter the segmentation fault.
What steps reproduce the problem?
- Create a new environment
- Install keras, keras gpu, tensorflow, tensorflow gpu, cudatoolkit and dependencies
- Conda update --all
Versions
- Spyder version: 3.2.8
- Python version: 3.6
- Qt version: 5.9.5
- PyQt version: 5.9.2
- Operating System name/version: CentOS 7
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Could not Initialize GLX after Conda Update --All
After I use conda update --all , spyder stopped launching and has the error: Could not initialize GLX. I have tried adding these...
Read more >Installing on Linux - Anaconda Documentation
In order to initialize after the installation process is done, first run source [PATH TO CONDA]/bin/activate and then run conda init . See...
Read more >Installing Anaconda on Ubuntu 20.04
Anaconda in fact does not recommend initializing conda by default for a few reasons listed below · It will make current pip-managed Python...
Read more >Troubleshooting — conda 22.11.1.post13+5eef286ca ...
Conda is having problems because it can't find the OpenSSL libraries that it needs. Cause . You may observe this error cropping...
Read more >NVIDIA CUDA Installation Guide for Linux
To use NVIDIA CUDA on your system, you will need the following installed: CUDA-capable GPU. A supported version of Linux with a gcc...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This does not appear to be fixed in Spyder 3.3.0. Could this be a Qt issue as noted in #7447?
conda install qt=5.6* pyqt=5.6*
still works as a temporary fix with Spyder 3.3.0.Spyder fails with the same error with Spyder 3.3.1. However, by upgrading conda to the newest version, Spyder 3.3.3 worked ok with ssh -X connections
Also found that using TightVNC causes this error and using vnc4server evades the problem.