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

bash: pip: command not found...

时间:2023-05-15 13:22:06浏览次数:32  
标签:... py get PC1 command pip found root

 

001、

[root@PC1 test]# pip
bash: pip: command not found...

 

 

002、

[root@PC1 test]# cat /etc/redhat-release

 

003、

[root@PC1 software]# curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py 
[root@PC1 software]# python get-pip.py

 

004、

[root@PC1 software]# pip --version
pip 20.3.4 from /usr/lib/python2.7/site-packages/pip (python 2.7)

 

标签:...,py,get,PC1,command,pip,found,root
From: https://www.cnblogs.com/liujiaxin2018/p/17401574.html

相关文章

  • Netty实战(06)-ChannelPipeline 接口
    1概述把ChannelPipeline看成拦截流经Channel的入、出站事件的ChannelHandler的实例链,就易看出这些ChannelHandler之间的交互如何组成一个应用程序数据和事件处理逻辑的核心。每个新建的Channel都会被分配一个新的ChannelPipeline。这项关联是永久性的;Channel既不能附加另外......
  • 常见问题解决 --- pip报错【WARNING: Retrying (Retry(total=4, connect=None, read=N
    问题现象【WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,st】解决方法:出现该错误信息是因为pip源连接证书验证失败,增加参数 --trusted-host例如pipinstallmatplotlib-ihttp://mirrors.aliyun.com/pypi/simple--trusted-hostmirrors.al......
  • 获取compile_commands.json的方式
    CMake工程这个最简单,在CMakeLists.txt中加set(CMAKE_EXPORT_COMPILE_COMMANDSon),或者在cmake的命令中加-DCMAKE_EXPORT_COMPILE_COMMANDS.即可产生CMakefileMakefile借助compiledb程序可以生成compile_commands.json文件。compiledb-nmake-f/path/to/Makefile#......
  • add_custom_command用法
    环境:Linux平台:CentOSLinuxrelase7.2.1511、GCC_4.8.5-4、cmakeversion2.8.11开始:一、add_custom_command将自定义构建规则添加到生成的构建系统,有两种用法。  1.1)第一种用法:将自定义命令添加到目标,如库或可执行文件add_custom_command(TARGETtarget......
  • Ubuntu系统下python模块graphviz运行报错:graphviz.backend.execute.ExecutableNotFoun
    代码中需要运行python模块graphviz,安装:pipinstallgraphviz 运行后报错:graphviz.backend.execute.ExecutableNotFound:failedtoexecutePosixPath('dot'),makesuretheGraphvizexecutablesareonyoursystems'PATH  报错的全部信息:Traceback(mostrecentc......
  • 什么是人工智能领域的 Foundation Model?
    人工智能领域的FoundationModel,通常指的是一类被广泛使用的基础模型(或称基础架构模型),是在海量数据和计算资源的基础上训练出来的通用、通用性较强的深度学习模型。这些模型被广泛应用于自然语言处理、计算机视觉、语音识别等领域的各种任务。FoundationModel通常由大型科技......
  • docker 容器中 ip addr 出现 bash: ip: commandnot found
    一、服务器中输入命令#启动tomcat容器别名tomcat1dockerrun-d-P--nametomcat1tomcat#进行tomcat1容器dockerexec-ittomcat1/bin/bash二、输入ipaddripaddrbash:ip:commandnotfound三、解决办法安装工具iproute2#我的服务器是centos的yumi......
  • target method '%s' found on bean target class '%s', but not found in any interf
    targetmethod'%s'foundonbeantargetclass'%s',butnotfoundinanyinterface(s)forbeanJDKproxy.Eitherpullthemethoduptoaninterfaceorswitchtosubclass(CGLIB)proxiesbysettingproxy-target-class/proxyTargetClass......
  • org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
    记录一次踩坑看了很多网上的方法绝大多数是让你检查xml文件名或者是编译文件层级之类的都不对参考这里org.apache.ibatis.binding.BindingException:Invalidboundstatement(notfound)一般的原因是Mapperinterface和xml文件的定义对应不上,需要检查包名,namespace,函数......
  • Issues with peer dependencies found
    我想把Vue2项目升级到Vue3,老项目用的是Vue-Cli,打包工具是webpack,新的工具是Vite,在老项目下修改packages.json文件导致依赖包冲突。解决步骤:删除node_modules;重新安装依赖包。重新安装,一切正常:......