已安装 python3-pip 但未找到 pip3 命令? [英] python3-pip installed but pip3 command not found?

查看:122
本文介绍了已安装 python3-pip 但未找到 pip3 命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在多台计算机上测试 Python3 程序.为此,我需要使用 pip3 安装 Python 库.

I am testing a Python3 program in several computers. To do that, I need to install a library of Python with pip3.

所以首先,我在每台计算机上安装 python3-pip(每个人都运行 Kubuntu 操作系统).一切正常,然后我用 pip3 安装了我需要的包,除了一台计算机之外,我设法做到了.

So first, I was installing python3-pip in each computer (everyone is running a Kubuntu OS). Everything was OK, and then I installed the package I needed with pip3, and I managed to do that except for one computer.

在那台电脑上,python3-pip显然是安装成功的,但是当我寻找这个包的时候,我得到这个错误(翻译是自制的):

In that computer, python3-pip was apparently installed succesfully, but when I look for the package, I get this error (the translation is homemade):

Command «pip3» was not found, may be you wanted to say:
 The command «pip» from the package «python-pip» (universe)
pip3: command not found

推荐答案

顺便说一下,我在这里问过这个问题 ​​https://superuser.com/questions/769920/python3-pip-installed-but-pip3-command-not-found 也是.有一个答案有几票,就我而言,可能是我做错了什么,但没有奏效.不过试试吧,说不定你比我幸运!

By the way, I had asked this question here https://superuser.com/questions/769920/python3-pip-installed-but-pip3-command-not-found too. There is an answer which has several votes, in my case, may be I was doing something wrong but it not worked. But try it, may be you are luckier than me!

这篇关于已安装 python3-pip 但未找到 pip3 命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆