AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-518922

jeremy_rutman's questions

Martin Hope
jeremy_rutman
Asked: 2024-11-16 14:10:48 +0800 CST

触控板设置似乎不会对 24.04 中的任何内容产生影响

  • 5

我的 Lenovo 16IAX7 运行 ubuntu 24.04 6.8.0-48-generic,其 GUI 触控板设置似乎不会影响滚动行为。(鼠标设置也不影响)。我使用的是 Gnome DE 和 Mutter WM。我已阅读了此处的帖子,但这似乎与我的情况并不完全相关,因为(例如)我没有看到自然滚动选项。我该如何让 GUI 正常工作,或者以其他方式运行自然滚动?

touchpad
  • 1 个回答
  • 29 Views
Martin Hope
jeremy_rutman
Asked: 2024-05-21 00:45:15 +0800 CST

在 Ubuntu 24.04 内核 6.9 上设置三显示器工作

  • 5
我有一套三显示器配置,在22.04版本中工作正常。一个外部显示器通过HDMI输出运行,另一个通过USB-C DP输出和USB-HDMI转换器运行。在升级到24.04内核6.9后,USB-C运行良好。HDMI显示器被显示设置GUI识别,并且桌面也显示在那里,但鼠标无法移动到这个显示器上,因此无法使用,无论显示器设置如何。在内核6.7.3中也有相同的不良行为。以下是一些系统信息: ``` $ xrandr|grep connected eDP-2 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 340mm x 210mm DP-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 700mm x 400mm HDMI-1 connected 2560x1440+5120+0 (normal left inverted right x axis y axis) 700mm x 390mm ``` ``` OS: Ubuntu 24.04 LTS x86_64 Host: 82TD Legion 7 16IAX7 Kernel: 6.9.0-060900-generic CPU: 12th Gen Intel i9-12900HX (24) @ 4.900GHz GPU: Intel Alder Lake-HX GT1 [UHD Graphics 770] GPU: NVIDIA GeForce RTX 3080 Ti Laptop GPU ``` ``` $ sudo lshw -c video *-display description: VGA compatible controller product: GA103M [GeForce RTX 3080 Ti Laptop GPU] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 logical name: /dev/fb0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb configuration: depth=32 driver=nvidia latency=0 mode=2560x1600 visual=truecolor xres=2560 yres=1600 resources: iomemory:600-5ff iomemory:640-63f irq:215 memory:83000000-83ffffff memory:6000000000-63ffffffff memory:6400000000-6401ffffff ioport:4000(size=128) memory:84000000-8407ffff *-display description: VGA compatible controller product: Alder Lake-HX GT1 [UHD Graphics 770] vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 logical name: /dev/fb0 version: 0c width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb configuration: depth=32 driver=i915 latency=0 resolution=2560,1600 resources: iomemory:640-63f iomemory:400-3ff irq:234 memory:6402000000-6402ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff $ nvidia-smi | NVIDIA-SMI 550.78 Driver Version: 550.78 ``` ``` jr@jr-Legion-7-16IAX7:~$ sudo dmesg|grep -E "video|hdmi|DP|nvidia|display" [ 0.821058] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC] [ 1.350318] UDP hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 1.350422] UDP-Lite hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 1.350493] NET: Registered PF_XDP protocol family [ 1.371801] ACPI: AC: AC Adapter [ADP0] (on-line) [ 1.851817] nvidia: loading out-of-tree module taints kernel. [ 1.851822] nvidia: module license 'NVIDIA' taints kernel. [ 1.851825] nvidia: module verification failed: signature and/or required key missing -
multiple-monitors
  • 1 个回答
  • 79 Views
Martin Hope
jeremy_rutman
Asked: 2021-11-11 20:21:47 +0800 CST

python3.10 with numpy - ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

  • 0

我正在尝试为 python3.10(不在 venv 中)安装 numpy。我使用安装了 python 3.10

sudo apt install python3.10

pip 似乎没有安装所以我做了

jeremy@jeremy-Blade:/$ python3.10 -m pip install numpy
jeremy@jeremy-Blade:/$ wget https://bootstrap.pypa.io/get-pip.py
jeremy@jeremy-Blade:/$ python3.10 get-pip.py
jeremy@jeremy-Blade:/$ python3.10 -m pip --version 
pip 21.3.1 from /home/jeremy/.local/lib/python3.10/site-packages/pip (python 3.10)

然后尝试


jeremy@jeremy-Blade:/$ python3.10 -m pip install numpy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (1.17.4)

但是当我尝试导入 numpy 时:

Python 3.10.0 (default, Oct  4 2021, 22:09:55) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 17, in <module>
    from . import multiarray
  File "/usr/lib/python3/dist-packages/numpy/core/multiarray.py", line 14, in <module>
    from . import overrides
  File "/usr/lib/python3/dist-packages/numpy/core/overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 142, in <module>
    from . import core
  File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 47, in <module>
    raise ImportError(msg)
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.10 from "/usr/bin/python3.10",
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy version "1.17.4" you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log
...
Original error was: No module named 'numpy.core._multiarray_umath'

我的路是

jeremy@jeremy-Blade:/$env|grep PATH
LD_LIBRARY_PATH=/usr/local/cuda-10.2/targets/x86_64-linux/lib/stubs
PATH=/home/jeremy/.local/bin:/usr/local/cuda-10.2/bin:/usr/local/cuda-10.2/targets/x86_64-linux/lib/stubs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

(所以 PYTHONPATH 未设置 - 如果我将其设置为 /usr/bin/python3.10 这似乎不会改变任何东西),并且按照错误消息中的建议,我似乎在这里没有看到任何问题。(我为 python3.10 卸载并重新安装了 numpy,没有看到问题的变化)我的操作系统是 ubuntu 20.04。对不起,如果这是明显的或与 numpy 无关的东西。

python
  • 1 个回答
  • 4779 Views
Martin Hope
jeremy_rutman
Asked: 2021-03-26 05:36:32 +0800 CST

无法登录,尽管密码正确(ubuntu 20.04)

  • 0

最近,我的机器开始使用带有激光眼山猫(可能是黑豹)的登录屏幕启动, 在此处输入图像描述 并且激光美洲狮不接受我的登录(failed to start session不是错误的密码 msg)。我做 crtl-alt-F3 然后从 cli 登录,然后运行startx它让我进入一个非常好的 kde 桌面(以前的默认设置是 gnome)。我想 1. 能够从 getgo 登录,以及 2. 将 kde 作为默认桌面(但我不太关心这个)。我已经检查了类似问题的所有答案(发生在以前版本的 ubuntu 中),但似乎都没有解决问题。一些系统信息(按照上述顺序在终端窗口中获​​得):

jeremy@jeremy-Blade:~$ uname -a 
Linux jeremy-Blade 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
jeremy@jeremy-Blade:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal
jeremy@jeremy-Blade:~$ echo $XDG_CURRENT_DESKTOP
KDE
jeremy@jeremy-Blade:~$ ls -l .X*
-rw------- 1 jeremy jeremy 163 бер 23 17:37 .Xauthority
kubuntu
  • 1 个回答
  • 2233 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve