8wDlpd.png
8wDFp9.png
8wDEOx.png
8wDMfH.png
8wDKte.png

我无法在 ubuntu 24.04 中启动 anaconda navigator

Certes 2月前

20 0

帮帮我,我无法在 ubuntu 24.04 上启动 anaconda navigator,错误消息如下警告:在 Gnome 上忽略 XDG_SESSION_TYPE=way​​land。使用 QT_QPA_PLATFORM=wayland 在 Wayland 上运行

帮帮我,我无法在 ubuntu 24.04 上启动 anaconda navigator,错误信息如下

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)

我到处搜索,但没有找到答案

帖子版权声明 1、本帖标题:我无法在 ubuntu 24.04 中启动 anaconda navigator
    本站网址:http://xjnalaquan.com/
2、本网站的资源部分来源于网络,如有侵权,请联系站长进行删除处理。
3、会员发帖仅代表会员个人观点,并不代表本站赞同其观点和对其真实性负责。
4、本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
5、站长邮箱:yeweds@126.com 除非注明,本帖由Certes在本站《ubuntu》版块原创发布, 转载请注明出处!
最新回复 (0)
  • 我有一组虚拟机,希望它们在早上自动开启。我配置了一个可以自动开启虚拟机的逻辑应用,以下是我的代码:# Logic App

    我有一组虚拟机,希望它们在早上自动开启。我配置了一个可以自动开启虚拟机的逻辑应用程序,以下是我的代码:

    # Logic App Workflow
    resource "azurerm_logic_app_workflow" "logic_app" {
      name                = "vm-startup-logicapp"
      location            = "xxx"
      resource_group_name = "xxx"
    }
    
    # Recurrence Trigger
    resource "azurerm_logic_app_trigger_recurrence" "recurrence" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "daily-trigger"
      frequency    = "Day"
      interval     = 1
      time_zone    = "Pacific Standard Time"
      
      schedule {
        at_these_hours   = [7]
        at_these_minutes = [0]
      }
    }
    
    # Common Headers
    locals {
      headers = {
        "Content-Type"  = "application/json"
        "Authorization" = "Bearer ${data.azurerm_key_vault_secret.access_token.value}"
      }
    }
    
    # HTTP Action to start VM devinfrajbox01
    resource "azurerm_logic_app_action_http" "start_vm_action_jbox01" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "start-vm-devinfrajbox01"
      method       = "POST"
      uri          = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrajbox01/start?api-version=2024-07-01"
      headers      = local.headers
    }
    
    # HTTP Action to start VM devinfrajbox02
    resource "azurerm_logic_app_action_http" "start_vm_action_jbox02" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "start-vm-devinfrajbox02"
      method       = "POST"
      uri          = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrajbox02/start?api-version=2024-07-01"
      headers      = local.headers
    }
    
    # HTTP Action to start VM devinfrarunner02
    resource "azurerm_logic_app_action_http" "start_vm_action_runner02" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "start-vm-devinfrarunner02"
      method       = "POST"
      uri          = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrarunner02/start?api-version=2024-07-01"
      headers      = local.headers
    }
    

    该逻辑应用程序不断给我“BadRequest”,立即失败并说:{\'error\':{\'code\': \'MissingApiVersionParameter\',\'message\': \'所有请求都需要api-version查询参数(?api-version =)。\'}}

    我逐字逐句地遵循了文档,但仍然收到此错误消息。原因是它告诉我当 API 参数存在时它需要一个 API 参数。我也广泛使用了 LLM,但仍然没有解决方案。任何帮助都非常感谢。

  • 通过 Terraform 配置的 Azure Logic App 引发错误请求和 API 错误

    您的配置中的问题可能与您调用 Api 版本的方式有关,我尝试了相同的配置,以便我们能够实现您所寻找的要求。

    配置:

    resource "azurerm_logic_app_workflow" "logic_app" {
      name                = "vm-startup-logicapp"
      location            = azurerm_resource_group.rg.location
      resource_group_name = azurerm_resource_group.rg.name
    }
    
    resource "azurerm_logic_app_trigger_recurrence" "recurrence" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "daily-trigger"
      frequency    = "Day"
      interval     = 1
      time_zone    = "Pacific Standard Time"
      
      schedule {
        at_these_hours   = [7]
        at_these_minutes = [0]
      }
    }
    
    resource "azurerm_key_vault" "key_vault" {
      name                = "testvksskeyvault"
      location            = azurerm_resource_group.rg.location
      resource_group_name = azurerm_resource_group.rg.name
      tenant_id           = data.azurerm_client_config.current.tenant_id
      sku_name            = "standard"
    }
    
    resource "azurerm_key_vault_secret" "access_token" {
      name         = "access-token"
      value        = "Intel@9959631237"
      key_vault_id = azurerm_key_vault.key_vault.id
    }
    
    locals {
      headers = {
        "Content-Type"  = "application/json"
        "Authorization" = "Bearer ${azurerm_key_vault_secret.access_token.value}"
      }
    }
    
    resource "azurerm_logic_app_action_http" "start_vm_action" {
      logic_app_id = azurerm_logic_app_workflow.logic_app.id
      name         = "start-vm-action"
      method       = "POST"
      uri          = "https://management.azure.com/subscriptions/${data.azurerm_client_config.current.subscription_id}/resourceGroups/${azurerm_resource_group.rg.name}/providers/Microsoft.Compute/virtualMachines/${azurerm_windows_virtual_machine.vm.name}/start?api-version=2024-07-01"
      headers      = local.headers
    }
    

    部署:

    enter image description here

    enter image description here

    enter image description here

    参考:

    azurerm_logic_app_action_http | 资源 | hashicorp/azurerm | Terraform | Terraform 注册表

    https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/start?view=rest-compute-2024-07-01&tabs=HTTP

返回
作者最近主题: