我正在多台计算机上测试Python3程序。为此,我需要使用安装Python库pip3
。
所以首先,我python3-pip
在每台计算机上安装(每个人都在运行Kubuntu OS)。一切正常,然后我用安装了所需的软件包pip3
,除了一台计算机,我设法做到了。
在那台计算机上,python3-pip
显然安装成功,但是当我寻找软件包时,出现此错误(翻译是自制的):
Command «pip3» was not found, maybe you wanted to say:
The command «pip» from the package «python-pip» (universe)
pip3: command not found
编辑
结果dpkg -L python3-pip
:
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pip-3.2.1.gz
/usr/share/doc
/usr/share/doc/python3-pip
/usr/share/doc/python3-pip/changelog.Debian.gz
/usr/share/doc/python3-pip/copyright
/usr/bin
/usr/bin/pip-3.2
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/pip
/usr/lib/python3/dist-packages/pip/log.py
/usr/lib/python3/dist-packages/pip/commands
/usr/lib/python3/dist-packages/pip/commands/unzip.py
/usr/lib/python3/dist-packages/pip/commands/zip.py
/usr/lib/python3/dist-packages/pip/commands/install.py
/usr/lib/python3/dist-packages/pip/commands/completion.py
/usr/lib/python3/dist-packages/pip/commands/uninstall.py
/usr/lib/python3/dist-packages/pip/commands/search.py
/usr/lib/python3/dist-packages/pip/commands/freeze.py
/usr/lib/python3/dist-packages/pip/commands/__init__.py
/usr/lib/python3/dist-packages/pip/commands/help.py
/usr/lib/python3/dist-packages/pip/commands/bundle.py
/usr/lib/python3/dist-packages/pip/_pkgutil.py
/usr/lib/python3/dist-packages/pip/util.py
/usr/lib/python3/dist-packages/pip/status_codes.py
/usr/lib/python3/dist-packages/pip/vcs
/usr/lib/python3/dist-packages/pip/vcs/__init__.py
/usr/lib/python3/dist-packages/pip/vcs/mercurial.py
/usr/lib/python3/dist-packages/pip/vcs/git.py
/usr/lib/python3/dist-packages/pip/vcs/bazaar.py
/usr/lib/python3/dist-packages/pip/vcs/subversion.py
/usr/lib/python3/dist-packages/pip/baseparser.py
/usr/lib/python3/dist-packages/pip/exceptions.py
/usr/lib/python3/dist-packages/pip/index.py
/usr/lib/python3/dist-packages/pip/basecommand.py
/usr/lib/python3/dist-packages/pip/req.py
/usr/lib/python3/dist-packages/pip/locations.py
/usr/lib/python3/dist-packages/pip/__init__.py
/usr/lib/python3/dist-packages/pip/runner.py
/usr/lib/python3/dist-packages/pip/backwardcompat.py
/usr/lib/python3/dist-packages/pip/download.py
/usr/lib/python3/dist-packages/pip-1.1.egg-info
/usr/lib/python3/dist-packages/pip-1.1.egg-info/SOURCES.txt
/usr/lib/python3/dist-packages/pip-1.1.egg-info/not-zip-safe
/usr/lib/python3/dist-packages/pip-1.1.egg-info/top_level.txt
/usr/lib/python3/dist-packages/pip-1.1.egg-info/PKG-INFO
/usr/lib/python3/dist-packages/pip-1.1.egg-info/entry_points.txt
/usr/lib/python3/dist-packages/pip-1.1.egg-info/dependency_links.txt
如果有帮助,您可以接受答案吗?这将问题标记为已解决,将为将来的用户提供帮助。
—
MERose