pytorch-YOLO-v1 icon indicating copy to clipboard operation
pytorch-YOLO-v1 copied to clipboard

ImportError: cannot import name 'queue' from 'torch._six' (/home/liqi/.local/lib/python3.8/site-packages/torch/_six.py)

Open cxsweet opened this issue 3 years ago • 5 comments

cxsweet avatar Nov 12 '21 11:11 cxsweet

或许可以帮我解释一下这个问题吗

cxsweet avatar Nov 12 '21 11:11 cxsweet

可能是python版本的问题吧,你换成python3.6试试,重新创建一个python3.6的环境,在里面配置pytorch

liuxinyan131 avatar Apr 19 '22 15:04 liuxinyan131

how do you solve this question?

ily12 avatar Apr 25 '22 06:04 ily12

how do you solve this question?

ily12 avatar Apr 25 '22 06:04 ily12

how do you solve this question?

create a new environment by "conda create -n environment_name python==3.6", you can try it.

liuxinyan131 avatar Apr 26 '22 14:04 liuxinyan131