admin管理员组文章数量:1130349
安装pytorch
创建环境
>>conda create -n pytorch python=3.6
>>activate pytorch
>>运行在官网选择的命令
查看是否安装成功
>>activate pytorch
>>pip list
>>python
>>import torch
(base) C:\Users\admin>activate pytorch
(pytorch) C:\Users\admin>pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
certifi (2016.2.28)
cffi (1.10.0)
mkl-fft (1.0.6)
mkl-random (1.0.1)
numpy (1.15.4)
olefile (0.44)
Pillow (4.2.1)
pip (9.0.1)
pycparser (2.18)
setuptools (36.4.0)
six (1.10.0)
torch (1.0.1)
torchvision (0.2.2)
wheel (0.29.0)
wincertstore (0.2)
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(pytorch) C:\Users\admin>python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 12:30:02) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> ^Z
>>ctrl+z退出python
jupyternotebook没有办法切换pytorch环境
(pytorch) C:\Users\admin>conda install nb_conda
安装pytorch
创建环境
>>conda create -n pytorch python=3.6
>>activate pytorch
>>运行在官网选择的命令
查看是否安装成功
>>activate pytorch
>>pip list
>>python
>>import torch
(base) C:\Users\admin>activate pytorch
(pytorch) C:\Users\admin>pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
certifi (2016.2.28)
cffi (1.10.0)
mkl-fft (1.0.6)
mkl-random (1.0.1)
numpy (1.15.4)
olefile (0.44)
Pillow (4.2.1)
pip (9.0.1)
pycparser (2.18)
setuptools (36.4.0)
six (1.10.0)
torch (1.0.1)
torchvision (0.2.2)
wheel (0.29.0)
wincertstore (0.2)
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(pytorch) C:\Users\admin>python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 12:30:02) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> ^Z
>>ctrl+z退出python
jupyternotebook没有办法切换pytorch环境
(pytorch) C:\Users\admin>conda install nb_conda
版权声明:本文标题:anaconda promote 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1763929113a2972337.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论