下载Github软件包时的问题

时间:2019-10-24 18:51:04

标签: python git github

我希望在Sklearn下载中下载PCA软件包,并且下载错误不断弹出。

我正在尝试使用pip命令直接从GitHub下载,但始终收到未安装'Git'的消息

    pip install 
    git+git://github.com/mGalarnyk/Python_Tutorials/tree/master/Sklearn

   Collecting 
   git+git://github.com/mGalarnyk/Python_Tutorials/tree/master/Sklearn
   Cloning 
   git://github.com/mGalarnyk/Python_Tutorials/tree/master/Sklearn to 
   c:\users\ommited\appdata\local\temp\pip-req-build-ggw1h5ld
   Running command git clone -q 
   git://github.com/mGalarnyk/Python_Tutorials/tree/master/Sklearn 
  'C:\Users\omitd~1\AppData\Local\Temp\pip-req-build-ggw1h5ld'
  ERROR: Error [WinError 2] The system cannot find the file specified 
  while executing command git clone -q 
  git://github.com/mGalarnyk/Python_Tutorials/tree/master/Sklearn 
 'C:\Users\omit~1\AppData\Local\Temp\pip-req-build-ggw1h5ld'
  ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

应该是剪切粘贴安装

1 个答案:

答案 0 :(得分:1)

在计算机中安装git。 (假设您没有)

您还可以发布您要遵循的“剪切和粘贴”说明吗?