pip安装git

简介: pip安装git

解决:Cannot find command ‘git’ - do you have ‘git’ installed and in your PATH?和系统找不到指定的文件。 while executing command git http:.//



C:\Users\HASEE>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Collecting git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Cloning https://github.com/philferriere/cocoapi.git to c:\users\hasee\appdata\local\temp\pip-req-build-60rcidcx

Running command git clone -q https://github.com/philferriere/cocoapi.git ‘C:\Users\HASEE\AppData\Local\Temp\pip-req-build-60rcidcx’

ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git clone -q https://github.com/philferriere/cocoapi.git ‘C:\Users\HASEE\AppData\Local\Temp\pip-req-build-60rcidcx’


ERROR: Cannot find command ‘git’ - do you have ‘git’ installed and in your PATH

解决办法:在cmd黑窗口中输入pip install git会报错



这里只需要打开pycharm,在包管理里,添加并安装git即可



然后就可以正常进行了

pip install git+https://github.com/rwightman/pytorch-image-models.git
• 1

rch-image-models.git

相关文章
|
18小时前
|
Unix Shell 开发工具
windows下如何安装git以及IDEA如何配置git
该文指导安装Git 2.15.0版本。首先从Git官网下载最新安装包,双击安装,依次选择Next,同意默认配置,确保勾选添加到环境变量。在配置选项中,选择在cmd中使用Git(第2项),行结束转换选Windows(第1项),终端模拟器选MinTTY(第1项)。安装完成后,通过右键菜单或直接打开Git Bash验证安装成功。最后,配置全局用户名和邮箱,并在IDEA中设置Git路径以完成集成。
|
2天前
|
Shell 开发工具 数据安全/隐私保护
win10环境下git安装和基础操作
win10环境下git安装和基础操作
4 0
|
2天前
|
Linux Shell 网络安全
Git的安装以及SSH配置
Git的安装以及SSH配置
10 0
|
4天前
|
Ubuntu Linux 网络安全
|
7天前
|
安全 开发工具 git
Windows11搭建Python环境(2)- Anaconda虚拟环境中安装Git
Windows11搭建Python环境(2)- Anaconda虚拟环境中安装Git
13 0
|
22天前
|
网络安全 开发工具 数据安全/隐私保护
git篇1:git下载安装、使用
git篇1:git下载安装、使用
|
22天前
|
开发工具 数据安全/隐私保护 git
git安装
git安装
|
2月前
|
iOS开发 MacOS Python
Mac安装pip报错的解决办法
Mac安装pip报错的解决办法
|
2月前
|
存储 JavaScript 开发工具
Windows 10环境下Git安装之简易指南
该指南教小白在Windows 10上安装Git,介绍Git设置的基础知识,为你的开发项目做准备!
|
3月前
|
安全 iOS开发 MacOS

相关实验场景

更多