ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 224 forks source link

Segementation fault with pyqt #4046

Open JarnoRFB opened 7 years ago

JarnoRFB commented 7 years ago
conda create -n test python=3.6 pyqt
source activate test
python -c "from PyQt5.QtGui import QImage"

Results in Segmentation fault (core dumped)

The output of conda info is

               platform : linux-64
          conda version : 4.3.23
       conda is private : False
      conda-env version : 4.3.23
    conda-build version : 3.0.9
         python version : 3.5.3.final.0
       requests version : 2.14.2
       root environment : /home/jarno/.anaconda3  (writable)
    default environment : /home/jarno/.anaconda3
       envs directories : /home/jarno/.anaconda3/envs
                          /home/jarno/.conda/envs
          package cache : /home/jarno/.anaconda3/pkgs
                          /home/jarno/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /home/jarno/.condarc
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.23 requests/2.14.2 CPython/3.5.3 Linux/4.4.0-83-generic debian/stretch/sid glibc/2.23    
                UID:GID : 1000:1000

I am running on Ubuntu 16.04

This seems to be related to #1435 , which is a seg fault as well only on windows. When I run the commands specified there I get a seg fault as well.

goanpeca commented 7 years ago

Thoughts @ccordoba12 ?

ccordoba12 commented 7 years ago

No idea. @mingwandroid?

vibhuthasak commented 7 years ago

Got the same issue.

Drunkar commented 7 years ago

I faced the same issue, then after upgrading to PyQt5-5.9 it solved.

pip install --upgrade PyQt5 
wangxiaoyu commented 5 years ago

I faced the same issue, then after upgrading to PyQt5-5.9 it solved.

pip install --upgrade PyQt5 

Since this infers conda environment it would be safe to reinstall using conda instead of pip. For example,

conda install -c conda-forge --force pyqt