Closed Rothax closed 3 years ago
How did you install vidstab
? It looks like your working directory is the vidstab directory, and I'm questioning whether anything was installed or if you just cloned the repo and ran the code.
Install with either:
pip install vidstab
(or pip install vidstab[cv2]
if you don't already have opencv installed)pip install .
in the repo's directoryI used "pip install vidstab[cv2]" for install vidstab
Are you sure that you installed it in the same environment that your code is running in? Can you prove that vidstab
is installed by running something like pip list
or pip list | grep vid
(you should see vidstab in the list if it is installed). Or perhaps by doing python
-> import vidstab
(not in the vidstab directory).
Of course
So there is definitely some disconnect between the python process running the code and that list of installed packages since we can see imutils
in the list.
To try and ensure you're using the appropriate pip + python you can try and install with the below command (since you're using python3
in the command that failed concerning imutils):
python3 -m pip install vidstab[cv2]
You might have your pip
for python 2 and pip3
for managing python 3 packages (not for sure of course, but a possibility).
I didnt changed anything . Only installed necessary modules, of course it is include imtulis module but it gives this error