torch库的记录

本来昨天应该有个记录的,哪知道,上午开会,下午修跑步机,晚上累趴了,就早点休息了!
今天明天又得开两天会,没办法,废话不多说,抽空赶快记录下学习的东东吧

torch库

  1. 先看问题吧,常规动作,安装先,unix下刚折腾完前面的东东,不想再跑回去折腾,就这边win下弄吧,等会还开会呢,懒得切换了
>pip install torch
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting torch
  Using cached https://files.pythonhosted.org/packages/5f/e9/bac4204fe9cb1a002ec6140b47f51affda1655379fe302a1caef421f9846/torch-0.1.2.post1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\lsh\appdata\local\temp\pip-install-cdi5vj\torch\setup.py", line 11, in <module>
        raise RuntimeError(README)
    RuntimeError: PyTorch does not currently provide packages for PyPI (see status at https://github.com/pytorch/pytorch/issues/566).

    Please follow the instructions at http://pytorch.org/ to install with miniconda instead.
  1. 怎么办?找了一大圈,发现torch不支持win下的python2版本,需要升级,麻烦了。
  2. 老老实实升级到python3使用吧,这是赶尽杀绝的赶脚!(等后面升级了再琢磨了)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值