当试图为我的pyside2应用启用远程ui时,im会收到以下错误:
python3 app.py -platform webgl
qt.qpa.plugin: Could not find the Qt platform plugin "webgl" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available plat
我已经将PYTHON_TARGETS="python2_7 python3_5 python3_4"添加到我的/etc/portage/make.conf中。
当尝试安装任何支持python目标的程序时,会发生以下情况:
sudo emerge --ask dev-python/google-api-python-client
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-python/httplib2
我试图在我的Ubuntu16.04.4服务器上安装赛博。我在python上遇到了一些问题,所以我从系统中删除了所有python版本。然后我从Python.org下载了最新的3.8版本,然后运行
make
make install
但是,当我试图跑
sudo add-apt-repository ppa:certbot/certbot
我收到一个错误,告诉我找不到这个命令。
sudo: add-apt-repository: command not found
然后,我看到了一个回答这个问题 --即安装software-properties-common包。
但是这样做给了我这个错误,
nus
在升级到21.10之前,我在Ubuntu18.04中安装了OKI扫描仪驱动程序。现在,当我启动okiscantool时,我会得到消息ImportError: No module named pygtk。
我看到python3安装得和python2一样好。
~$ dpkg -l '*python*' | grep ii
ii libpython2-stdlib:amd64 2.7.18-3 amd64 interactive high-level object-oriented language (P
ı正在升级我的发行版。但是当它升级的时候,我得到了这样的包失败错误。我什么都试过了,但找不到任何解决办法。你有什么意见建议?
$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependen
所以我从Python模块得到了一个SIGSEGV信号。这个模块已经在Windows上进行了测试/构建,现在我尝试在Linux (Linux 17,64位)下使用它。我对gdb非常陌生,但是有没有办法让它显示Python的源代码呢?
Program received signal SIGSEGV, Segmentation fault.
PyErr_SetObject (exception=0xae3818, value=0x7ffff7e229f0) at ../Python/errors.c:70
70 ../Python/errors.c: No such file or dir
我运行了sudo apt-get upgrade,我得到了这个错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
99 not fully installed or removed.
Need to get 0 B/47.2 kB of archives.
After t
我试图使用以下命令安装python paramiko:
pip3 install paramiko
然后我发现了一个错误:
The program 'pip3' is currently not installed. You can install it by typing:
sudo apt install python3-pip
然后尝试使用上面的命令安装pip,结果是:
正在读取包列表...完成构建依赖树
正在读取状态信息...Done python3 3-pip已经是最新版本(8.1.1-2 ubuntu0.4)。下列软件包已自动安装,不再需要: python3-ba
我不小心删除了我的python3包,然后我试图重新安装这个包。但我每次都会犯错误。
The following packages have unmet dependencies:
devscripts : Depends: python3 but it is not installable
Depends: python3:any (>= 3.3.2-2~) but it is not installable
Recommends: dput but it is not installable or
我尝试在Bash中选择一些输出的一部分,但不知道将过滤器放在哪里,并且对我得到的输出感到困惑。
我从
declare -a pythons=("python" "python2" "python3")
for p in "${pythons[@]}"
do
echo "$p: $($p --version 2>&1) in $(which $p)" && for i in $(which -a $p); do echo " $i ($($i --version 2
在尝试sudo apt-get install Clang++时,我得到了以下错误:
Note, selecting 'clang-tidy-4.0' for regex 'Clang+'
Note, selecting 'python-clang-5.0' instead of 'python-clang-x.y'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if yo
root@vps292598:~# sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk
我有一个问题,这些缺陷,我已经尝试了一切,但我仍然得到这个错误。
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libpython-all-dev libpython-dev libpython-stdlib libpython2-dev
我想得到一个清单,例如,在我的Gentoo Linux系统上的所有活动包(即版本9999)。这些内容包含在(动态生成的) @live-rebuild包集中。
我可以通过运行emerge -pav @live-rebuild将它们打印到屏幕上;但这也给了我许多其他细节和语法:
zenbookhost ~ # emerge -pav @live-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R *] sci-libs/nip
我正在尝试删除python,但有人告诉我,它将删除几乎我所有的软件包安装(夸张)。我如何才能删除python3.8而不是所有其他包?
hutber@hutber:/var/www$ sudo apt-get purge python3.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
li