当我试图加载一个hickle文件时,这是一个错误,该怎么办?sources_test.hkl")
File "", line 1, in File "/opt/conda/envs/pytorch-py3.6/lib/python3.6This file was likely created with Python 2 and an old hickle
因此,我安装了大量的Python版本,只想通过将python输入终端就可以访问Python3.3。我读过其他文章,但不管出于什么原因,在我的机器上,我输入python时它会打开Python2.7,即使我在bash配置文件中更改了别名。作为参考,我的bash配置文件有一行:
alias python='python3'