query-video-summary icon indicating copy to clipboard operation
query-video-summary copied to clipboard

Import pvsumm issue

Open vikash130795 opened this issue 5 years ago • 7 comments

Am not able to import pvsumm, it's always showing module cofigparser is not found, how could i import it, should i need to give path in setup.py packages part?

vikash130795 avatar Feb 19 '20 16:02 vikash130795

Hi, I’m also struggling with importing qvsumm. Looks like qvsumm needs an older environment of any kind. It might not support Python 3, as Python 3 accepts import configparser instead of import ConfigParser

andhusa avatar Mar 17 '22 09:03 andhusa

So, how should I do to import Configparser? and when I change to configparse, I got the error message about "No Module named 'model'. "

How can I adjust this problem? @andhusa

tingchihc avatar Mar 19 '22 00:03 tingchihc

I went down the same lane as you. ‘model’ is reffering to the file in the same folder. So to fix that you simply change import model to from . import model

Also change import shells to from . import shells, as the same error occurs on that line.

I hope you can find a way to run it, because I could not find a solution as it was always a new error occuring. As i said, I think it is possible to run it on a downgraded Python.

@ting-chih

andhusa avatar Mar 19 '22 01:03 andhusa

you mean this code should run in python2? @andhusa

tingchihc avatar Mar 19 '22 01:03 tingchihc

Yes, it should not be necessary to change the written code. I just tried that quick, but I got an error on that I could not manage to fix at a quick look.

@ting-chih

andhusa avatar Mar 19 '22 01:03 andhusa

Did you manage to run it @ting-chih ?

andhusa avatar Mar 24 '22 10:03 andhusa

@andhusa NO

tingchihc avatar Mar 24 '22 16:03 tingchihc