• 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

  • 相关阅读:
    Execl获取真实行数
    日期工具类
    Eclipse & IDEA快捷键对比大全
    【转】IDEA导入Eclipse项目 详细步骤(亲自验证导入成功)
    京东的四大集团
    马云演讲视频
    阿里系的一些重要网站
    阿里系的几个电商网站
    腾讯几款QQ软件
    电脑版微信使用说明
  • 原文地址:https://www.cnblogs.com/yu121/p/13502294.html
Copyright © 2020-2023  润新知