注意一点:base环境中自带jupyter但是我们要选择在新建好的带有torch环境中安装jupyter。
在安装时发现会报错
原因:python版本过高
安装torch时要求的python环境是3.8到3.11
但安装jupyter时要求的环境是3.9以下
所以以后创建环境时也要注意python的版本。
当在高Python版本的base环境中尝试安装torch时,遇到Jupyter安装错误。原因是torch需要3.8-3.11,而Jupyter支持3.9以下。开发者需注意环境版本一致性。
注意一点:base环境中自带jupyter但是我们要选择在新建好的带有torch环境中安装jupyter。
在安装时发现会报错
原因:python版本过高
安装torch时要求的python环境是3.8到3.11
但安装jupyter时要求的环境是3.9以下
所以以后创建环境时也要注意python的版本。
7044
1681