TingTingin / TikTokDiffusion

68 stars 10 forks source link

ImportError: cannot import name 'pairwise' from 'itertools' (unknown location) #12

Closed Archangel39 closed 1 year ago

Archangel39 commented 1 year ago

Hello!)

Traceback (most recent call last): File "F:\AI\TikTokDiffusion\TikTokDiffusion.py", line 84, in import track File "F:\AI\TikTokDiffusion\track.py", line 53, in import RIFE File "F:\AI\TikTokDiffusion\rife\RIFE.py", line 10, in from itertools import pairwise ImportError: cannot import name 'pairwise' from 'itertools' (unknown location)

Before that there were other problems related to lap and cython_bbox, but I seem to have solved it by manual installation. How to fix it?

TingTingin commented 1 year ago

You can install itertools into the environment by doing this you shouldn't have to do this though so something else might be wrong

open cmd and type

Archangel39 commented 1 year ago

Many thx! You are the best! In fact, the problem was in Ana'conda , old version of python. My carelessness, I need to sleep more.)