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

Jaakko Seppälä's questions

Martin Hope
Jaakko Seppälä
Asked: 2021-03-13 00:25:02 +0800 CST

如何在 Ubuntu 20.04 上安装 Sagemath?

  • 6

为什么 Sagemath 在 Ubuntu 上安装失败?我试过了

jaakko@jaakko-Aspire-E1-572:~$ sudo apt install sagemath-common
[sudo] password for jaakko: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  sagemath-common
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 16,2 MB of archives.
After this operation, 205 MB of additional disk space will be used.
Get:1 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 sagemath-common all 9.0-1ubuntu4 [16,2 MB]
Fetched 16,2 MB in 4s (3 888 kB/s)            
Selecting previously unselected package sagemath-common.
(Reading database ... 216481 files and directories currently installed.)
Preparing to unpack .../sagemath-common_9.0-1ubuntu4_all.deb ...
Unpacking sagemath-common (9.0-1ubuntu4) ...
Setting up sagemath-common (9.0-1ubuntu4) ...
/usr/lib/python3/dist-packages/sage/combinat/root_system/branching_rules.py:1753
: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(stypes) is not 2:
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1159: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1168: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1175: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1182: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1189: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1196: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1203: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
Processing triggers for man-db (2.9.1-1) ...
jaakko@jaakko-Aspire-E1-572:~$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.0, Release Date: 2020-01-01                     │
│ Using Python 3.8.5. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 12, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 105, in <module>
    from sage.repl.preparse import preparse, containing_block
  File "/usr/lib/python3/dist-packages/sage/repl/preparse.py", line 227, in <module>
    from sage.repl.load import load_wrap
  File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 19, in <module>
    from sage.cpython.string import str_to_bytes, bytes_to_str, FS_ENCODING
ModuleNotFoundError: No module named 'sage.cpython.string'
jaakko@jaakko-Aspire-E1-572:~$ 
20.04
  • 1 个回答
  • 7816 Views
Martin Hope
Jaakko Seppälä
Asked: 2018-03-24 02:58:33 +0800 CST

如何创建 Gnome 的快捷方式以登录到 WWW 页面?

  • 0

是否可以创建一个指向 Gnome 桌面的链接,允许我启动需要登录到该站点并单击一些 JavaScript 按钮的特定网页?我的工作中有一个项目需要相对定期地登录到 WWW 站点,而且我经常不得不选择一个特定的项目。

gnome shortcuts
  • 1 个回答
  • 120 Views
Martin Hope
Jaakko Seppälä
Asked: 2017-11-14 01:26:28 +0800 CST

将带有 Java 9 的 Eclipse 安装到 Ubuntu 时出现问题

  • 3

我有Xubuntu 17.10。我尝试通过 apt-get 安装 Eclipse。当我尝试运行它时,出现错误

An error has occurred. See the log file
/home/jaakko/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1510564798671.log.

日志文件如下:

!SESSION 2017-11-13 11:19:57.077 -----------------------------------------------
eclipse.buildId=debbuild
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2017-11-13 11:20:00.209
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 4 0 2017-11-13 11:20:00.222
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.

!ENTRY org.eclipse.osgi 2 0 2017-11-13 11:20:00.256
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-11-13 11:20:00.256
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2017-11-13 11:20:00.256
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".

!ENTRY org.eclipse.osgi 2 0 2017-11-13 11:20:00.268
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-11-13 11:20:00.268
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2017-11-13 11:20:00.268
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".

!ENTRY org.eclipse.osgi 4 0 2017-11-13 11:20:00.281
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

我发现如果我使用 Java 9 会出现此问题,但如果我使用 Java 8 则不会。

如何将 Eclipse 安装到我的计算机上以运行 Java 9?

eclipse
  • 2 个回答
  • 5104 Views
Martin Hope
Jaakko Seppälä
Asked: 2017-09-15 22:38:57 +0800 CST

LaTeX 或 Texmaker 中是否存在错误,因为第一次没有显示参考?

  • 1

我想输入一个方程式,在上面贴上标签 D 并引用它。我试过了:

\begin{equation*}
\label{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation*}
with $\alpha\in\mathbb{C}$ and showed that precisely when a solution to~\ref{D}

但是当 Texmaker 编译文档时,行尾是

并表明,正是当一个解决方案

然后我将代码更改为

\begin{equation*}
\label{D}
\tag{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation*}
with $\alpha\in\mathbb{C}$ and showed that precisely when a solution to~\ref{D}

但仍然缺少 D。之后,我尝试删除行 \tag{D} 以重新编译代码的第一个版本。现在我能够看到正确的输出:

并表明当 D.

那么这是 LaTeX 或 TexMaker 中的一个错误,因为我第一次看不到字母 D 吗?

我有 Ubuntu 17.04 和

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2017.8.16) 15 SEP 2017 09:29

和

Texmaker 4.5
(compiled with Qt 5.6.1 and Poppler 0.44.0)
Copyright (c) 2003-2015 by Pascal Brachet
latex
  • 1 个回答
  • 138 Views
Martin Hope
Jaakko Seppälä
Asked: 2017-09-15 02:50:28 +0800 CST

为什么我在 Yakuake 上使用 Nano 时看不到字符_?

  • 4

在此处输入图像描述我在 Yakuake 上使用 Gnu Nano 来编写 LaTeX 文档。然后昨天我发现我在Nano上看不到字符_。我知道字符在那里,因为 LaTeX 正确呈现了 tex 文件。这是 Yakuake 或 Nano 中的错误,还是我的系统中有一些设置错误?

这是一个演示。看起来像 \lim {r\to\infty} 的代码实际上是 \lim_{r\to\infty}

nano
  • 1 个回答
  • 232 Views
Martin Hope
Jaakko Seppälä
Asked: 2016-03-16 05:56:41 +0800 CST

如何在 Ubuntu 上使用 WhatsApp Web?

  • 1

我尝试在 Ubuntu 上安装 WhatsApp Web。我有一个 Nexus 5,我的 WhatsApp 运行良好。我试图将软件安装到我的 Ubuntu,但它要求二维码。我用手机给它拍了张照片。但我不知道如何告诉 WhatsApp 网站我已经拍了照片。任何人都可以帮忙吗?

whatsapp
  • 1 个回答
  • 4741 Views
Martin Hope
Jaakko Seppälä
Asked: 2015-12-09 13:28:49 +0800 CST

如果 Windows XP 计算机打开,我可以在 Ubuntu 上检测到吗?

  • 0

我想测量一台装有 Windows XP 的笔记本电脑可以用电池运行多少。我有另一台装有 Xubuntu 的计算机,我可以用它来测量 Windows XP 计算机是否打开。但是我如何连接这两台计算机以及如何测量 Xubuntu 是否可以从 Windows XP 计算机读取数据?还是 XP 应该向 Xubuntu 发送一些数据?

networking
  • 1 个回答
  • 69 Views
Martin Hope
Jaakko Seppälä
Asked: 2015-10-21 09:25:12 +0800 CST

Nexus 5 将不再共享互联网连接

  • 1

我使用 Nexus 5 通过 USB 与笔记本电脑共享互联网连接。它工作得很好,但突然有一天它停止共享连接,从那以后它就再也没有共享过连接。我该如何调试这个问题?我的 nexus 5 有 Android 版本 6.0 和 Ubuntu 有以下版本:

jaakko@jaakko-Aspire-E1-572:~/programming$ lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:        15.04
Codename:       vivid
jaakko@jaakko-Aspire-E1-572:~/programming$ uname -a
Linux jaakko-Aspire-E1-572 4.0.0-040000-generic #201504121935 SMP Sun Apr 12 23:36:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
networking
  • 1 个回答
  • 185 Views
Martin Hope
Jaakko Seppälä
Asked: 2015-04-09 00:18:19 +0800 CST

Boinc 无法连接到客户端

  • 1

我尝试将我的计算机用于分布式计算项目 World Community Grid/Outsmart Ebola Together 和 World Community Grid/FightAIDS@Home。它工作得很好,但昨天Boinc开始说:

Not connected to a client.

有谁知道为什么这么说?现在看来我没有任务要做,也没有参与任何研究项目。而且似乎无法附加任何项目,因为菜单Add project or account manager...只是关闭了下拉菜单。这是一个错误还是我需要检查一些设置?

版本为 7.2.42 (x64),wxWidgets 版本为 2.8.12。

boinc
  • 2 个回答
  • 1521 Views
Martin Hope
Jaakko Seppälä
Asked: 2015-04-04 03:03:31 +0800 CST

如何在 Ubuntu 上安装 MT Extra 字体?

  • 0

我读到我的 pdf 阅读器 Xpdf 和 Okular 无法正确显示来自http://math.aalto.fi/opetus/sovtoda/oppikirja/Johdanto.pdf的文档,因为我的 Ubuntu 或 xpdf 并且 evince 没有安装字体 MT额外的 ( https://bugzilla.gnome.org/show_bug.cgi?id=747231 )。我该如何安装它?

fonts
  • 1 个回答
  • 842 Views
Martin Hope
Jaakko Seppälä
Asked: 2014-07-11 00:16:33 +0800 CST

软件更新程序需要更多磁盘空间[重复]

  • 10
这个问题在这里已经有了答案:
如何删除旧内核版本以清理启动菜单? (39 个答案)
7 年前关闭。

我从软件更新程序收到以下错误消息:

The upgrade needs a total of 74,6 M free space on disk '/boot'. Please free at least an additional 68,3 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

我怎样才能获得更多的磁盘空间?我有

df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/mapper/xubuntu--vg-root  454G   13G  418G   3% /
none                          4,0K     0  4,0K   0% /sys/fs/cgroup
udev                          1,9G  4,0K  1,9G   1% /dev
tmpfs                         384M  1,3M  383M   1% /run
none                          5,0M     0  5,0M   0% /run/lock
none                          1,9G   24M  1,9G   2% /run/shm
none                          100M   36K  100M   1% /run/user
/dev/sda2                     237M  219M  6,1M  98% /boot
/dev/sda1                     511M  3,4M  508M   1% /boot/efi
14.04
  • 1 个回答
  • 37520 Views
Martin Hope
Jaakko Seppälä
Asked: 2014-06-14 08:11:23 +0800 CST

一段时间后 Xfce 屏幕变黑

  • 2

当我不使用计算机一段时间后,我的 Xfce 变黑了。我已经从设置/屏幕保护程序中检查过模式设置为禁用屏幕保护程序,但屏幕仍然变黑。如何确保我可以在不黑屏的情况下观看世界杯比赛?我是否需要一些脚本,例如每隔几分钟按下 shift 按钮?

xfce
  • 1 个回答
  • 5493 Views
Martin Hope
Jaakko Seppälä
Asked: 2014-05-22 10:09:34 +0800 CST

是否有可以在文档中找到字母 ä 的 pdf 阅读器?

  • 2

我发现 Okular 找不到包含字母 ä 的文本。至少我使用以下文档进行了测试:

\documentclass[10pt]{book}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[finnish]{babel}
\usepackage{blindtext}
\usepackage{siunitx}
\sisetup{output-decimal-marker = {,}}

\usepackage[a5paper]{geometry}
%\usepackage[a5paper, top=2in, bottom=1.5in, left=1in, right=1in]{geometry}
\usepackage{scrextend}
\changefontsizes{10.0pt}  % Change base font size

\usepackage{lettrine}
\usepackage{fancyhdr}

\usepackage{wasysym}
\pagestyle{fancy}
\fancyhf{} % clear all fields
\fancyhead[RO,LE]{\thepage}
\linespread{1.3}

\begin{document}
ÄÖäö
\end{document}

编译pdflatex demo.tex。是否有适用于 Ubuntu 的 PDF 阅读器可以正确找到此类字母,或者是否有一些 bash 脚本允许我从 PDF 中找到此类字符串并将 Okular 滚动到 PDF 文件中字符串的位置?

pdf
  • 1 个回答
  • 111 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