首页 > 编程语言 > 详细

fixed a problem in using spyder with python3

时间:2017-01-10 12:51:29      阅读:225      评论:0      收藏:0      [点我收藏+]

Same problem as in https://github.com/Ultimaker/Cura/issues/385

Fix:

My PR #387 based on #131 fixes the problem + installing python3-opengl

(1)

    1. ldconf -p | grep libGL.so
      I found that the first entry was still
      libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
      instead of
      libGL.so (libc6,x86-64) => /usr/lib/nvidia-340-updates/libGL.so
    2. cd /etc/ld.so.conf.d
      I found many conf files, including
      i386-linux-gnu_GL.conf and x86_64-linux-gnu_GL.conf
      cat x86_64-linux-gnu_GL.conf
      /usr/lib/nvidia-340-updates
      /usr/lib32/nvidia-340-updates
      but i386-linux-gnu_GL.conf is empty.
      So I just copied the contents in x86-linux-gnu_GL.conf to i386-linux-gnu_GL.conf
    3. sudo ldconfig
      Everything is OK now

(2)

      sudo apt-get install python3-opengl

fixed a problem in using spyder with python3

原文:http://www.cnblogs.com/casperwin/p/6268779.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!