Git Product home page Git Product logo

Comments (6)

quanjunjie531 avatar quanjunjie531 commented on May 14, 2024 1

这个错误我也遇到过,用webshell 去启动 gui会报这个错,如果用ssh工具连接在启动gui就能正常启动。有没有可能是你用的ssh工具不支持窗口?

from draggan.

wuyanzhang avatar wuyanzhang commented on May 14, 2024

这个错误我也遇到过,用webshell 去启动 gui会报这个错,如果用ssh工具连接在启动gui就能正常启动。有没有可能是你用的ssh工具不支持窗口?

谢谢 我换了个ssh工具 用ubuntu系统自带的终端成功启动了

from draggan.

darthzulder avatar darthzulder commented on May 14, 2024

I have the same problem, I have installed the cuda env in WSL in Windows 11, help please

/home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: 'libc10_cuda.so: cannot open shared object file: No such file or directory'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source?
warn(
/home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65544) b'X11: The DISPLAY environment variable is missing'
warnings.warn(message, GLFWError)
/home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65537) b'The GLFW library is not initialized'
warnings.warn(message, GLFWError)
python: /builds/florianrhiem/pyGLFW/glfw-3.3.8/src/input.c:855: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed.
Aborted

from draggan.

darthzulder avatar darthzulder commented on May 14, 2024

I have the same problem, I have installed the cuda env in WSL in Windows 11, help please

/home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: 'libc10_cuda.so: cannot open shared object file: No such file or directory'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source? warn( /home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65544) b'X11: The DISPLAY environment variable is missing' warnings.warn(message, GLFWError) /home/administrador/anaconda3/envs/stylegan3/lib/python3.9/site-packages/glfw/init.py:916: GLFWError: (65537) b'The GLFW library is not initialized' warnings.warn(message, GLFWError) python: /builds/florianrhiem/pyGLFW/glfw-3.3.8/src/input.c:855: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed. Aborted

my solution was install cuda manually in WSL2 with the first part of the tutorial:
https://www.youtube.com/watch?v=1HzYU2_t3yc

from draggan.

xuboot avatar xuboot commented on May 14, 2024

@wuyanzhang 我在linux服务器里跑也遇到这个问题,具体怎么解决啊,/home/dell/anaconda3/envs/DragGAN/lib/python3.8/site-packages/glfw/ init .py:834: GLFWError: (65544) b'X11: 无法打开显示 '
warnings.warn(message, GLFWError )
/home/dell/anaconda3/envs/DragGAN/lib/python3.8/site-packages/glfw/ init .py:834: GLFWError: (65537) b'GLFW 库未初始化'
warnings.warn(message, GLFWError)
python: /builds/florianrhiem/pyGLFW/glfw-3.3.4/src/input.c:832: glfwSetKeyCallback: 断言 `window != ((void *)0)' 失败。
中止(核心转储)

from draggan.

lalitbhagat7 avatar lalitbhagat7 commented on May 14, 2024

/home/dell/anaconda3/envs/DragGAN/lib/python3.8/site-packages/glfw/init.py:834: GLFWError: (65544) b'X11: Failed to open display ' warnings.warn(message, GLFWError) /home/dell/anaconda3/envs/DragGAN/lib/python3.8/site-packages/glfw/init.py:834: GLFWError: (65537) b'The GLFW library is not initialized' warnings.warn(message, GLFWError) python: /builds/florianrhiem/pyGLFW/glfw-3.3.4/src/input.c:832: glfwSetKeyCallback: Assertion `window != ((void *)0)' failed. Aborted (core dumped)

I also encountered this problem when running in a linux server, how to solve it

from draggan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.