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-771744

tfstwbbnb's questions

Martin Hope
tfstwbbnb
Asked: 2023-10-18 07:23:24 +0800 CST

如何将“python3-autopilot”与“python3 -m venv venv”一起使用?

  • 5

我该如何使用python3-autopilotwith python3 -m venv venv?

我已经安装了python3-autopilot(Ubuntu 的“轻松编写和运行集成测试的实用程序”)sudo apt-get install -y python3-autopilot。

虽然我更喜欢python3-autopilot安装pip install.

注意:autopilot在 PyPI 上 不是 python3-autopilot.

  • python3-autopilot是版本 1.6.1,而autopilotPyPI 上只有版本 0.3.0,并且似乎是一个完全不同的包。

  • python3 -m venv venv在和之前. ./venv/bin/activate,我可以from autopilot.input import Mouse,但没有来自我的虚拟环境的包。

  • 之后. ./venv/bin/activate,from autopilot.input import Mouse说ModuleNotFoundError: No module named 'autopilot'

package-management
  • 2 个回答
  • 164 Views
Martin Hope
tfstwbbnb
Asked: 2018-10-15 12:39:41 +0800 CST

Nautilus 显示隐藏文件

  • 6

问题

Nautilus在重启时隐藏隐藏文件,无论重启前的设置如何。

预期的

Nautilus 保持关机前的“显示隐藏”设置(在我的情况下,无论关机前的设置如何,总是显示隐藏文件也可以)。

问题

如何让 Nautilus 在重新启动后显示隐藏文件,而无需每次手动启用“显示隐藏文件”?

调试信息

{reboot}
$ gsettings get org.gnome.nautilus.preferences show-hidden-files
true

打开 Nautilus(仪表板上的图标)- Nautilus 中未显示的隐藏文件

Control+ H- Nautilus 中显示的隐藏文件

关闭鹦鹉螺窗口

打开 Nautilus(破折号上的图标)- Nautilus 中未显示隐藏文件(预期行为)

Nautilus --> 编辑 --> 首选项 --> 显示隐藏和备份文件

现在显示隐藏文件,直到重新启动

重启

打开 Nautilus(仪表板上的图标)- Nautilus 中未显示的隐藏文件

nautilus reboot settings
  • 1 个回答
  • 1626 Views
Martin Hope
tfstwbbnb
Asked: 2017-12-16 11:57:10 +0800 CST

从 ISO 安装 TeXLive

  • 1

我texlive2017-20170524.iso已从http://muug.ca/mirror/ctan/systems/texlive/Images/下载。

并尝试使用“使用存档安装程序打开”(通过右键单击它)和“使用 --> 磁盘映像安装程序打开”来安装它

他们都成功地安装了。

当我cd到安装位置并运行./install-tl(也尝试过./install-tl)时,它给了我这个错误:

TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.

这是前 60 行install-tl

#!/usr/bin/env perl
# $Id: install-tl 44407 2017-05-18 21:25:39Z karl $
# 
# Copyright 2007-2017
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
# Be careful when changing wording: *every* normal informational message
# output here must be recognized by the long grep in tl-update-tlnet.
#
# TODO:
# - with -gui pop up a transient window showing:
#      testing for compressed archive packages ...
#      testing for uncompressed live system ...
#      testing for network access ...
#      loading tlpdb, this can take some time ...
#   (that, and maybe some others can be done with the waitVariableX
#   thingy as described in the Perl/Tk book in the chapter that can be
#   found on the net)   (Werner 28.10.08)

my $svnrev = '$Revision: 44407 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');

# taken from 00texlive.config: release, $tlpdb->config_release;
our $texlive_release;

BEGIN {
  $^W = 1;
  my $Master;
  my $me = $0;
  $me =~ s!\\!/!g if $^O =~ /^MSWin/i;
  if ($me =~ m!/!) {
    ($Master = $me) =~ s!(.*)/[^/]*$!$1!;
  } else {
    $Master = ".";
  }
  $::installerdir = $Master;

  # All platforms: add the installer modules
  unshift (@INC, "$::installerdir/tlpkg");
}

use Cwd 'abs_path';
use Getopt::Long qw(:config no_autoabbrev);
use Pod::Usage;
use POSIX ();

use TeXLive::TLUtils qw(platform platform_desc sort_archs
   which getenv win32 unix info log debug tlwarn ddebug tldie
   member process_logging_options rmtree wsystem
   mkdirhier make_var_skeleton make_local_skeleton install_package copy
   install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLConfig;
use TeXLive::TLCrypto;
use TeXLive::TLDownload;
use TeXLive::TLPaper;

我还尝试将内容复制到我的硬盘驱动器(因此它不再是 ISO 格式),因为在直接从 ISO 运行应用程序之前我遇到了问题。它仍然给我上述错误。

问题:如何使用 将 TeXLive 安装到我的系统texlive2017-20170524.iso?
(我宁愿使用离线安装程序而不是sudo apt-get install texlive)


这是我在终端上看到的:

Me@Computer:~/Desktop$ cd ~/Desktop
Me@Computer:~/Desktop$ mkdir mountpoint
Me@Computer:~/Desktop$ sudo mount -o loop texlive2017-20170524.iso mountpoint
[sudo] password for Me: 
mount: /dev/loop0 is write-protected, mounting read-only
Me@Computer:~/Desktop$ cd mountpoint/
Me@Computer:~/Desktop/mountpoint$ ./install-tl
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Me@Computer:~/Desktop/mountpoint$ 
software-installation
  • 2 个回答
  • 2176 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