当试图为我的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
我已经在我的ubuntu14.04上安装了python2.7.5。然后我想安装virtualbox (或任何其他应用程序),但是我得到了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-xapian-i
我正在ubuntu 14.0上安装npm。它已经安装了python 2.7.11。它显示以下错误。
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-xapian-index : Depends: python:any (>= 2.7.
我正在尝试安装g++.But,但做不到。
amol@amol-System-Product-Name:~$ sudo apt-get install g++
[sudo] password for amol:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages ha
我已经将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
我知道以前有人问过这个问题,但请听我说完。所以我想安装屏幕。我运行了sudo apt-get install screenlets,这就是我得到的:
The following extra packages will be installed:
libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libgnome2-0 libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0 libgnomeui-common libtidy-0.
我尝试在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
我试图在我的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
我有一个问题,这些缺陷,我已经尝试了一切,但我仍然得到这个错误。
# 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
我无法在shell中导入Python2.7中的numpy。我用brew install安装了Python,然后用sudo pip install安装了numpy。我在没有sudo的情况下尝试过,但是我得到了一个拒绝权限的错误。总之,我明白了:
ImportError: dlopen(/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
R
我的博士文件下面,
FROM ubuntu:20.04
RUN apt install -y aptitude
RUN aptitude -f install python-dev
容器内的手动aptitude -f install python-dev安装提示选项选择n和Y,如下所示。
The following NEW packages will be installed:
libpython-dev{a} libpython-stdlib{a} python{a} python-dev python-minimal{a}
0 packages upgraded, 5 newly i
我是Linux新手,我正试图在SUSE Linux中安装python包。我尝试了以下选项
备选案文1:
zypper install python-pip
Loading repository data...
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Reading installed packages...
Package 'python-pip' not found.
Resolving package
在尝试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
我非常小心,没有在我最新的Ubuntu焦点amd64系统中包含Python2.x。我犯了安装mercurial (sudo apt install mercurial)的错误,没有引起注意。它安装了以下软件包。
The following package was automatically installed and is no longer required:
python3-magic
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
每当我试图运行E: Sub-process /usr/bin/dpkg returned an error code (1)时,我都会遇到一长串以sudo apt-get ...结尾的错误,但我不知道原因。例如:
Setting up python-gobject-2 (2.28.6-12ubuntu1) ...
/var/lib/dpkg/info/python-gobject-2.postinst: 6: /var/lib/dpkg/info/python-gobject-2.postinst: pycompile: not found
dpkg: error processing
我正在尝试创建一个python2.7环境,但是当我运行
$ mkvirtualenv --python=python2.7 venv
$ python
Python 3.6.5 (default, Jun 17 2018, 12:13:06)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>&