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

  • 相关阅读:
    2017免费获取正版win10的方法
    Apache <Directory>… </Directory>配置
    针对left join以及limit的两条优化小技巧
    win10打印机突然无法启动
    mysql中的分组统计函数及其用法实例
    程序猿的日常生活-雨中
    java中的反射
    mysql中的截取函数及其实例
    集合与数组
    方法重写
  • 原文地址:https://www.cnblogs.com/yu121/p/13502294.html
Copyright © 2011-2022 走看看