11.7
(先pycharm py36 重启)
Ubuntu 17.04 安装 pytorch and pytorchvision_Linux教程_Linux公社-Linux系统门户网站 https://www.linuxidc.com/Linux/2017-05/143803.htm 有下载到本地,然后用命令安装的过程 ,试
中途需要用git
使用git引入项目,报错git is not installed
Pycharm上Git安装和使用(程序员必备) https://baijiahao.baidu.com/s?id=1663964231395886782 安装过程next的解释
git安装的官网
Git - Downloading Package https://git-scm.com/download/win
(25条消息) PyCharm和git安装教程_csdn_kou的博客-CSDN博客_pycharm安装git https://blog.csdn.net/csdn_kou/article/details/83720765 目前还没用到
11.8
是安装好之后的Git文件夹,里面cmd中的git.exe。不是官网下载的安装包exe
测试版本 终于!
下一个问题,在terminal使用git还是提示“git不是内部或外部命令”。解决方法 pycharm中的Terminal无法使用git命令--报错"git"不是内部或外部命令,也不是可运行的程序或批处理文件_hu27-CSDN博客
把cmd.exe改成git-cmd.exe,测试 ~
下一个问题,(python3和git都安装好了)开始再次运行pytorch的命令,再次提示
按最后一行,但是还是提示fatal: not a git repository (or any of the parent directories): .git
解决方法 在pycharm的terminal输入 git init。参考的 Git错误提示之:fatal: Not a git repository (or any of the parent directories): .git_沐风的博客-CSDN博客
再输入git status显示了一些未提交的文件,不重要。然后运行上图的git命令 没提示,运行完成。
(下一个问题)然后再试安装命令python setup.py install,错误Could not find any of CMakeLists.txt, Makefile, setup.py, LICENSE, LICENSE.md, LICENSE.txt in D:\env\pytorch-vision-github\pytorch-master\third_party/pybind11
Did you run 'git submodule update --init --recursive --jobs 0'? 又说没运行这句