zoukankan      html  css  js  c++  java
  • docker 桌面镜像内安装gui程序启动报错

    jupyter notebook出现报错:OSError: [Errno 99] Cannot assign requested address

       解决:添加参数,--ip=0.0.0.0 --allow-root

       报错:端口占用 8888

       解决:lsof -i:8888      kill -9 pid 即可

       或者:    

               输入 jupyter notebook --generate-config

               在提示的文件路径找到 generate-config.py文件

               在文件中搜索 port ,将默认端口进行更改 比如8889

               重启

        总结:对jupyter进行配置即可

    ./code出现报错:5822:0812/071846.227498:FATAL:atom_main_delegate.cc(223)] Running as root without --no-sandbox is not supported.                                                                          Seehttps://crbug.com/638180.Trace/breakpoint trap (core dumped)

        解决:添加参数:--no-sandbox

        又出现报错:You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please specify an alternate user data                                       directory using the `--user-data-dir` argument.

        解决:/root/zz/VSCode-linux-x64/bin/code . --user-data-dir='.'

        即可!

    cmake 出现报错:-- The C compiler identification is unknown -- The CXX compiler identificati

        解决:   安装gcc, g++, make等编译器

                     apt install build-essential

  • 相关阅读:
    hdu 4786 Fibonacci Tree
    Sae 上传文件到Storage
    Java通过代理server上网
    iOS 利用Socket UDP协议广播机制的实现
    android_handler(三)
    shell 脚本执行日志通用模块
    adt-bundle-linux-x86_64-20131030下新建project提示找不到adb和R.java问题的解决
    【MongoDB】The Access control of mongodb
    Java——设计模式(装饰模式_IO)
    动态顺序表
  • 原文地址:https://www.cnblogs.com/yu121/p/13502294.html
Copyright © 2011-2022 走看看