我怎样才能更改我的主应用程序菜单在 Gnome3 中,任何配置文件或任何工具都可以做到这一点?
我的操作系统 (Arch Linux) 最近将 Python 从 3.5.2 更新到 3.6.0,现在运行任何终端时我都会收到以下消息:
/usr/bin/python: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
Run Code Online (Sandbox Code Playgroud)
此外我得到这些输出
$ whereis python
python: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python2.7-config /usr/bin/python /usr/bin/python2.7 /usr/lib/python3.6 /usr/lib/python3.5 /usr/lib/python2.7 /usr/include/python3.6m /usr/include/python2.7 /usr/share/man/man1/python.1.gz
$ which python
/usr/bin/python
$ python --version
Python 3.6.0 …Run Code Online (Sandbox Code Playgroud) 当我执行 ls /sys/firmware/efi 时,没有文件或目录。我在这种模式下启动时查找的所有内容都对我的虚拟机没有帮助。我查看了 vmware 网站上的一个链接,该链接说转到 vm > 设置并启用 efi 而不是 BIOS,但它不适合我。
由于 gnome 日历中没有 GUI 选项来编辑一周的默认开始日期,如何将其从星期日更改为星期一呢?
我正在使用 Arch Linux 和 KDE Plasma。我想设置一个 http 代理作为系统范围使用,但是当我在 KDE 设置中设置它时,什么也没有发生!我如何使用我的代理作为系统范围的代理?!
我正在使用 Arch Linux。我已经通过 aurget 安装了 mysql。然后,当我尝试创建一些数据库时,我遇到了错误:"Can't connect to local MySql server through socket '/run/mysqld/mysqld.sock' (2)"我应该做什么来解决我的问题?
我make在尝试编译一些包时遇到了一个相当奇怪的错误。我正在运行 Arch Linux 5.6.7
例如,当尝试编译 R 3.6 时,我收到以下错误(完整输出在最后):
gcc -shared -fopenmp -L/usr/local/lib64 -o libRblas.so blas.o cmplxblas.o -lgfortran -lm -lquadmath
make[4]: gcc: Permission denied
Run Code Online (Sandbox Code Playgroud)
然而,gcc它是最新的,适用于其他安装,并且一切似乎都已正确配置:
[cmasso6@cmasso6 R-3.6.3]$ gcc --version
gcc (Arch Linux 9.3.0-1) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[cmasso6@cmasso6 R-3.6.3]$ which gcc
/usr/bin/gcc
Run Code Online (Sandbox Code Playgroud)
我查看了包的MakeconfCC=gcc文件,其中包含以下行: 。改变它以CC=/usr/bin/gcc使其发挥作用。 …
我想知道我的 picom 配置文件出了什么问题。我目前使用 Arch Linux - 5.6.10 和 i3-gaps 作为 WM,使用 Picom 作为合成器。
错误信息:
[ 08/05/20 13:43:36.014 init_render WARN ] Old backends only support blur method "kernel". Your blur setting will not be applied
有人可以告诉我这是什么意思吗?
我正在尝试安装此代码我正在尝试为一个大学项目安装这个git-repo,但我陷入了困境,因为 ld 似乎无法正确链接 lua。我按照安装说明进行操作并使用以下命令编译代码:
catkin_make -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_CXX_STANDARD=14
Run Code Online (Sandbox Code Playgroud)
失败并显示几条消息,例如:
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_toboolean(lua_State*, int)'
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_tonumberx(lua_State*, int, int*)'
...
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_pushstring(lua_State*, char const*)'
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_isstring(lua_State*, int)'
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
该代码已经过测试并且可以在 Ubuntu 18.04 上运行,但我正在尝试让它在 Manjaro 上运行。手册指出这liblua5.2-dev是需要的,我从 AUR安装了lua52 ,它似乎提供了正确的库。
的输出ldd是:
ldd /home/felixk/catkin_ws/devel/lib/libflatland_lib.so | grep lua
liblua5.2.so.5.2 => /usr/lib/liblua5.2.so.5.2 (0x00007f23fd51c000)
Run Code Online (Sandbox Code Playgroud)
然后我检查是否/usr/lib/liblua5.2.so.5.2存在并且确实存在。我试图用来readelf检查是否liblua5.2.so.5.2 …
当我在 Arch Linux 上更新和安装一些软件包时:
sudo pacman -Syu && sudo pacman -S --needed \
webkit2gtk \
base-devel \
curl \
wget \...
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
error: failed to commit transaction (conflicting files)
flutter: /opt/flutter/.git/FETCH_HEAD exists in filesystem
Errors occurred, no packages were upgraded.
Run Code Online (Sandbox Code Playgroud)