ImportError: cannot import name 'queue' from 'torch._six' (/home/liqi/.local/lib/python3.8/site-packages/torch/_six.py)
cxsweet opened this issue · 5 comments
cxsweet commented
ImportError: cannot import name 'queue' from 'torch._six' (/home/liqi/.local/lib/python3.8/site-packages/torch/_six.py)
cxsweet commented
或许可以帮我解释一下这个问题吗
liuxinyan131 commented
可能是python版本的问题吧,你换成python3.6试试,重新创建一个python3.6的环境,在里面配置pytorch
ily12 commented
how do you solve this question?
ily12 commented
how do you solve this question?
liuxinyan131 commented
how do you solve this question?
create a new environment by "conda create -n environment_name python==3.6", you can try it.