首页 > 其他分享 >bash: pip3: command not found...

bash: pip3: command not found...

时间:2023-09-07 18:01:04浏览次数:343  
标签:pip3 -- pc1 command pip found test01 root

 

001、问题

[root@pc1 test01]# pip3 --version

 

002、解决方法

a、

[root@pc1 test01]# yum -y install epel-release

 

b、

[root@pc1 test01]# yum  install python3-pip -y

 

003、测试

[root@pc1 test01]# pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)

 

004、更新pip3

[root@pc1 test01]# pip3 install --upgrade pip
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pip
  Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 18kB/s
Installing collected packages: pip
Successfully installed pip-21.3.1
[root@pc1 test01]# pip3 --version
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
pip 21.3.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)

 .

 

标签:pip3,--,pc1,command,pip,found,test01,root
From: https://www.cnblogs.com/liujiaxin2018/p/17685699.html

相关文章

  • Uchardet C++源码编译步骤 文本编码检测命令行工具 Command line
    从官网 https://www.freedesktop.org/wiki/Software/uchardet/下载源码 https://www.freedesktop.org/software/uchardet/releases/=====================================================================================下载编译工具:Cmake和mingw64https://cmake.org......
  • pip install ale_python_interface 安装报错,ModuleNotFoundError: No module named 'a
    参考:https://www.cnblogs.com/hasakei/p/10035198.htmlhttps://blog.csdn.net/senjie_wang/article/details/84073823https://github.com/bbitmaster/ale_python_interface/issues/2https://blog.csdn.net/dream6985/article/details/127746687  ======================......
  • Docker 启动alpine镜像中可执行程序文件遇到 not found
    问题:dockeralpine镜像中遇到sh:xxx:notfound例如:在容器内/app/目录下放置了可执行文件abc,启动时提示notfound/app/startup.sh:line5:./abc:notfound原因由于alpine镜像使用的是musllibc而不是gnulibc,/lib64/是不存在的。但他们是兼容的,可以创建个软连接过去......
  • Python开发之pip3
    简介pip是Python包管理工具,该工具提供了对Python包的查找、下载、安装、卸载的功能。命令使用查看pip3版本pip--version下载安装包使用以下命令pipinstallsome-package-name例如我们安装numpy包pipinstallnumpy我们也可以轻易地通过以下的命令来移除软件......
  • springboot加载bean失败:No matching autowired candidates found
    场景:之前在培训轮岗,一直没有干活,最近开始干活遇到xxljob,打算自己学习了解一下。在按照文档配置执行器项目时,发现怎么启动,xxlJobExecutor都没有被加载进来。解决:后来经过查阅,原来是springBoot启动默认扫描的是启动类所在的包以及其子包,而我的文件为:因此bean注入失败。把......
  • Homebrew安装cocoapods: zsh: command not found: brew解决方法
    问题描述:通过Homebrew安装cocoapods时,输入命令行 brewinstallcocoapods出现如下报错:zsh:commandnotfound:brewzsh:找不到命令:brew 问题解决:使用以下命令,重新安装Homebrew./bin/zsh-c"$(curl-fsSLhttps://gitee.com/cunkai/HomebrewCN/raw/master/Homeb......
  • homebrew安装软件出现git问题fatal: not in a git directory,Error: Command failed w
    homebrew安装软件出现git问题问题fatal:notinagitdirectoryError:Commandfailedwithexit128:git问题查找1.brew-v查看问题logsuyf@suyfdeMac-mini~%brew-vHomebrew4.0.18-18-g64259a4fatal:detecteddubiousownershipinrepositoryat'/op......
  • 删除文件报错rm: cannot remove `auditcommand.log': Operation not permitted
    删除文件报错[root@db1log]#rm-rfauditcommand.logrm:cannotremove`auditcommand.log':Operationnotpermittedlsattr查看属性[root@db1log]#rm-rfauditcommand.logrm:cannotremove`auditcommand.log':Operationnotpermitted[root@db1log]#lsat......
  • Could not autowire. No beans of ‘DiscoveryClient‘ type found.
    一、导错了包DiscoveryClient对应有两个包:org.springframework.cloud.client.discovery.DiscoveryClient;com.netflix.discovery.DiscoveryClient;目前导入的包是:改成第一个包,发现不再报红了。......
  • Oracle EBS查看请求日志报404 not found错误,FNDWRR.exe资源访问不存在
    问题描述如上图中,查看请求时,点击“查看日志”按钮后,正常浏览器会打开一个页面,可以看到这个请求的日志,但出现问题后,浏览器会报404错误,如下图解决方法cd$EBS_ORACLE_HOME/common/scripts实际目录:(/oracle/PROD/fs1/FMW_Home/Oracle_EBS-app1/common/scripts)请根据自己的目......