栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

pycham 安装pytorch 网站

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

pycham 安装pytorch 网站

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:envpytorch-vision-githubpytorch-masterthird_party/pybind11
Did you run 'git submodule update --init --recursive --jobs 0'?  又说没运行这句

 

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/461014.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号