elsampsa / valkka-core

Valkka - Create video surveillance, management and analysis programs with PyQt
GNU Lesser General Public License v3.0
181 stars 35 forks source link

ModuleNotFoundError: No module named 'valkka.core' #28

Closed deepik27 closed 2 years ago

deepik27 commented 2 years ago

File "lesson_1_a.py", line 12, in from valkka.core import * ModuleNotFoundError: No module named 'valkka.core'

elsampsa commented 2 years ago

phew! You scared the shit out of me.. I thought that the PPA is broken..!

But it ain't.

Have you, by any chance, followed this?: https://elsampsa.github.io/valkka-examples/_build/html/requirements.html

Once you actually install libValkka you can try from command line:

python3
from valkka.core import *

I suggest that you also run the "quicktest.py" as instructed in that same page.

deepik27 commented 2 years ago

Actually valkka supports Ubuntu 20 and python 3.8 version

On Wed, 22 Sep, 2021, 10:55 pm Sampsa Riikonen, @.***> wrote:

phew! You scared the shit out of me.. I thought that the PPA is broken..!

But it ain't.

Have you, by any chance, followed this?: https://elsampsa.github.io/valkka-examples/_build/html/requirements.html

Once you actually install libValkka you can try from command line:

python3 from valkka.core import *

I suggest that you also run the "quicktest.py" as instructed in that same page.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/elsampsa/valkka-core/issues/28#issuecomment-925131652, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLTIOA7HENGXENWMOHEAE3UDIGSLANCNFSM5ERFUFBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

elsampsa commented 2 years ago

If you have several python versions installed into your system, you can start python 3.8 by typing:

python3.8

If you really need to use some other python version than the system's default one, you can also compile libValkka yourself: it's very easy, please see the front-page of this repo.

deepik27 commented 2 years ago

yeah thanks so much got it ran well quicktest.py file