Skip to content

Conversation

@RomRoc
Copy link

@RomRoc RomRoc commented Mar 1, 2018

ERROR 1:

ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/pafy/pafy.py in ()
47 try:
---> 48 import youtube_dl
49 backend = "youtube-dl"

ModuleNotFoundError: No module named 'youtube_dl'

In
----> 1 import time, pafy

ERROR 2:

TypeError Traceback (most recent call last)
in ()
60 results = model.detect([image], verbose=1)
61 #print("# %s - %s - %0.4f seconds ---" % (frameCnt,rclasses.astype('|S3'), (nowMicro - start_time).total_seconds()))
---> 62 draw_str(image, (20, 20), "FPS = %3.2f, %0.4f sec, Track points = %5d, Frame = %6d" % (fpsValue,(nowMicro - start_time).total_seconds(),len(tracks), frameCnt))
63 start_time = nowMicro
64

TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'float'

============================================
ERROR 3:

NameError Traceback (most recent call last)
in ()
69
70 if showImage:
---> 71 if count % 2: #increase or decrease this to clear after more or less frames
72 # Display the frame until new frame is available
73 clear_output(wait=True)

NameError: name 'count' is not defined

RomRoc added 4 commits March 1, 2018 09:56
ERROR 1:

ModuleNotFoundError                       Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/pafy/pafy.py in <module>()
     47     try:
---> 48         import youtube_dl
     49         backend = "youtube-dl"

ModuleNotFoundError: No module named 'youtube_dl'

In 
----> 1 import time, pafy
============================================================
ERROR 2:

TypeError                                 Traceback (most recent call last)
<ipython-input-16-92d99807c83c> in <module>()
     60   results = model.detect([image], verbose=1)
     61   #print("# %s - %s - %0.4f seconds ---" % (frameCnt,rclasses.astype('|S3'), (nowMicro - start_time).total_seconds()))
---> 62   draw_str(image, (20, 20), "FPS = %3.2f, %0.4f sec, Track points = %5d, Frame = %6d" % (fpsValue,(nowMicro - start_time).total_seconds(),len(tracks), frameCnt))
     63   start_time = nowMicro
     64 

TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'float'

============================================
ERROR 3:

NameError                                 Traceback (most recent call last)
<ipython-input-15-92d99807c83c> in <module>()
     69 
     70   if showImage:
---> 71     if count % 2: #increase or decrease this to clear after more or less frames
     72       # Display the frame until new frame is available
     73       clear_output(wait=True)

NameError: name 'count' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant