简单到:
conda create -n py2 python=2.7
然后在那种环境下
conda install spyder=3
无法解决环境问题。虽然这里只有python=2.7 basics和spyder=3,它们在自己的网站上指定需要python 2.7 https://www.psych.mcgill.ca/labs/mogillab/anaconda2/lib/python2.7/site-packages/spyder/doc/installation.html#requirements
为什么这会失败,人们如何才能得到一些基本的工作
新的尝试:(最后一个是我知道可以一起工作的特定版本,因为我在主系统范围内安装了它们)
conda create -n py2 python=2.7 spyder --> Fails to solve env
conda create -n py2 python=2.7 spyder -c free --> installs spyder4
conda create -n py2 python=2.7 spyder=3 -c free --> AttributeError on launch
conda create -n py2 python=2.7.17 spyder=3.2.3 -c free --> AttributeError on launch
都失败了。如果我没有指定spyder=3,conda将安装spyder=4,这是不可能的,因为python和spyder的这些版本不能一起工作(为什么conda在检查兼容性时不知道这一点?)。当指定spyder=3时,环境无法解决问题,除非使用channel free
,正如注释中善意建议的那样。但这种方法在启动Spyder、抛出AttributeErrors时也会失败
我在启动时遇到了一些Qt问题,通过将
qtawesome
修复为旧版本似乎可以解决这些问题。以下是对我有效的最终规范(osx-64):或者作为一个YAML
py2.yaml
相关问题 更多 >
编程相关推荐