RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

[Bug]: No module named 'prawcore'

Open tihamsheikh opened this issue 3 years ago • 7 comments

Describe the bug

The module named 'prawcore' sems to be missing from the repo. The main cannot pull any module from the prawcore module. Because it doesn't exist. The terminal prompts this:

C:\RedditVideoMakerBot-3.0.1>python main.py Traceback (most recent call last): File "C:\RedditVideoMakerBot-3.0.1\main.py", line 9, in from prawcore import ResponseException ModuleNotFoundError: No module named 'prawcore'

C:\RedditVideoMakerBot-3.0.1>python main.py Traceback (most recent call last): File "C:\RedditVideoMakerBot-3.0.1\main.py", line 11, in from reddit.subreddit import get_subreddit_threads File "C:\RedditVideoMakerBot-3.0.1\reddit\subreddit.py", line 3, in from prawcore.exceptions import ResponseException ModuleNotFoundError: No module named 'prawcore'

and I also tried to remove the import from prawcore in main

Reproduction Steps

After installing every pip modules and other requirements. I tried to run the main.py in terminal and the error happened there.

Expected behavior

The python main file was supposed to run and show the beautiful: Reddit Video Maker but did not =(

Screenshots

No response

System Information

Operating System : [e.g. Windows 11] Python version : [e.g. Python 3.11.3] App version / Branch : [e.g. latest, V2.0, master, develop]

Checklist

  • [X] I have searched the open issues for duplicates.
  • [X] I have shown the entire traceback, if possible.

Additional Context

No response

tihamsheikh avatar Apr 29 '23 15:04 tihamsheikh

Try installing prawcore to the specific python that you are using. pip3 install prawcore

Johndunking avatar Apr 29 '23 16:04 Johndunking

I've also tried that, it doesn't work

javi22020 avatar May 01 '23 11:05 javi22020

File "C:\RedditVideoMakerBot-3.0.1\main.py", line 115, in raise err File "C:\RedditVideoMakerBot-3.0.1\main.py", line 99, in run_many(config["settings"]["times_to_run"]) File "C:\RedditVideoMakerBot-3.0.1\main.py", line 63, in run_many main() File "C:\RedditVideoMakerBot-3.0.1\main.py", line 53, in main download_background(bg_config) File "C:\RedditVideoMakerBot-3.0.1\video_creation\background.py", line 75, in download_background YouTube(uri, on_progress_callback=on_progress).streams.filter( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tiham\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytube_main_.py", line 296, in streams return StreamQuery(self.fmt_streams) ^^^^^^^^^^^^^^^^ File "C:\Users\tiham\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytube_main_.py", line 176, in fmt_streams stream_manifest = extract.apply_descrambler(self.streaming_data) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\tiham\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytube_main_.py", line 161, in streaming_data return self.vid_info['streamingData'] ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ KeyError: 'streamingData'

now it shows this key error after running main.py @Johndunking

tihamsheikh avatar May 01 '23 13:05 tihamsheikh

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] avatar May 08 '23 00:05 github-actions[bot]

I'm pretty sure the requirements.txt file is f'd up. I just ran python main.py over and over doing pip install for all the packages that were missing.

tatertotbot avatar May 08 '23 04:05 tatertotbot

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] avatar May 15 '23 00:05 github-actions[bot]

Issue closed due to being stale. Please reopen if issue persists in latest version.

github-actions[bot] avatar May 27 '23 00:05 github-actions[bot]