我想使用 Qt 来开发 Ubuntu 桌面、手机和平板电脑应用程序,但我不想学习新的编程语言(C++、JavaScript)。是否可以使用 Qt-Creator 作为 IDE 在 Python 中编写 Qt 应用程序?
如Rails 上的 Ubuntu wiki 页面所述,建议使用 gems 管理您的 Rails/Ruby 依赖项。
像 Django 这样的 Python 包的最佳实践是什么?我应该通过 apt-get 安装它们还是应该让 easy_install/pip 从 PyPi 获取它们?
请耐心等待,因为我是 Linux 的新手。几年来,我一直在Mac 上用REALbasic编写 GUI 程序。我正在尝试学习 Python,我想为 Linux 编写 GUI 应用程序(主要是 Ubuntu 和 Mint,因为它们是我可以访问的发行版,而且它们似乎是最受欢迎的)。我基本上有三个问题:
quickly和GladeUbuntu的,但据我所知,他们是基于GTK + 2,这是现在已经过时。那是对的吗?对不起,如果这些问题真的很愚蠢,但我想从一开始就开始学习“正确”的工具。
可能的重复:
哪些 IDE 可用于 Ubuntu?
适用于 Ubuntu 12.04 的最佳 Python IDE 有哪些?
你会从我学习 Python 中受益吗?
所以我对学习用 python 编码很感兴趣。我从 html 和 css 开始,不需要设置,只需使用 gedit 编写我的代码并在铬上进行测试。我最近被告知要学习使用 html 和 css 做更多的事情。我需要为 Java 进行设置并开始学习其中的一些内容。
不过我对学习python更感兴趣。到目前为止,我所知道的 Ubuntu 12.10 带有一个 python 版本。我需要知道如何将事情设置到我可以在 Ubuntu 12.10 上实际打开 python 3.3.0 并开始尝试命令的程度?
我可以在 Ubuntu 10.10 上使用 easy_install 吗?如果是,那么如何?
Ubuntu在 16.04 中放弃了 Python 2。尽管如此,它仍然在升级后安装(它不是“过时的软件包”的一部分)。
有没有一种干净的方法来以干净的方式删除 Python 2及其所有依赖项(完全摆脱它)?
是apt purge要走的路吗?
root@ubuntu ~# apt purge python2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libnss-ldap
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
auth-client-config* ldap-auth-client* ldap-auth-config* libpam-ldap* libsmbclient* ndiff* python* python-bs4* python-chardet* python-crypto* python-dnspython*
python-html5lib* python-ldb* python-lxml* python-ntdb* python-pkg-resources* python-samba* python-setuptools* python-six* python-talloc* python-tdb* python2.7* samba*
samba-common-bin* …Run Code Online (Sandbox Code Playgroud) 我已经完成了 18.04 LTS 的全新安装。然后我安装了 youtube-dl 使用
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
Run Code Online (Sandbox Code Playgroud)
当我尝试使用 youtube-dl 时,收到以下错误消息:
rudolffischer@HP8770w:~$ youtube-dl -U
/usr/bin/env: ‘python’: No such file or directory
Run Code Online (Sandbox Code Playgroud)
似乎安装了 Python 3
rudolffischer@HP8770w:~$ python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Run Code Online (Sandbox Code Playgroud)
为什么?
Ubuntu 10.04 只有两个受支持的 Python 版本 2.6 和 3.1。开发人员通常需要更多,以测试他们的 Python 代码是否适用于 2.7、2.5(甚至可能是 2.4 和更旧的版本)。在 lucid 系统上并排安装这些 Python 版本的最佳方法是什么?
是我目前使用的Felix Krull 的 PPA吗?
顺便说一下,一些重要的包在来自 deadsnakes PPA 的非标准 Python 中不可用:
由于 Ubuntu 10.04 是 LTS 版本,它是否支持将 python 2.7 作为默认包维护者版本,或者至少在未来有一个 python2.7 包?
由于它将是最后一个主要的 python 2.x 版本并且打算长时间保持原位,因此我决定使用它。我从源代码编译它(当然是在构建 deps 之后),但有时我会发现一些小问题。
将我编译的 python 2.7 定义为默认值是否安全,因为有一些分发应用程序可以在 python 上运行。
python ×10
qt ×2
10.04 ×1
10.10 ×1
16.04 ×1
apt ×1
gtk ×1
gui ×1
ide ×1
programming ×1
qml ×1
qt-creator ×1
uninstall ×1
versions ×1
youtube-dl ×1