prenagha / patreon-mp3

Download MP3s from the Patreon artists you sponsor
Apache License 2.0
3 stars 1 forks source link

No modules: E.g. 'requests' etc.; Request for more elaborate example tutorial #1

Closed gtu78aed87t closed 7 months ago

gtu78aed87t commented 3 years ago

Ima dumbass. I don't think I understand how to use the program really..

Log of what I did:

I received following error whitin the string of text in terminal:

Terminal:

import requests
ModuleNotFoundError: No module named 'requests'

config.ini:

RSSURL = https://www.patreon.com/rss/Pr*************en?auth=Ps**************************************2K_
Genre = Ma*****************ws
Album = Pa*******************en
DownloadPrefix = downloads/

Update 1: Ok I made some progress; i didn't get all three FeedParser, Requests and Eye3D had to be installed:

Assumed suspect cause and solution for now: Figure out why and how to install 'eye3d' properly -> Run 'patreon-mp3.py' over again.

Update 2:

Well.. I have a new lead thread I suppose; figure out which one if any that resemble the 'magic'-module. Does any of these is installs require a system reboot maybe?

update 3:

Can't reboot. I have some unfinished business I can't save or quit yet.

update 4:

Update 5: Pew.. That was close: I did a last web search and tried following:

Terminal:

File "/Users/***********workstation/Downloads/patreon-mp3-master/patreon-mp3.py", line 26, in <module>
    cfg = parser['feed']
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/configparser.py", line 960, in __getitem__
    raise KeyError(key)
KeyError: 'feed'

I see a link in the end of the tunnel below; Prenagha, thank you I'll try a little more.

Update 6: Look mr. fancy-"-m pip"-guy: I’m on MacOS Mojave:

Now I suspect it is something with [feed] I don’t get. I tried both with and without again.

config.ini:

[feed]
RSSURL = https://www.patreon.com/rss/Pr*************en?auth=Ps**************************************2K_
Genre = Ma*****************ws
Album = Pa*******************en
DownloadPrefix = downloads/

I don't get it. Not sure if the script is ment be with/or without "[feed]"? Neither what line 960 "getitem"-something is supposed to represent.

Update 7: If you don't hear from me again it's not because I'd fixed it to put it like that..

prenagha commented 3 years ago

https://docs.python-requests.org/en/master/user/install/#install

From: gtu78aed87t @.***> Subject: [prenagha/patreon-mp3] No module named 'requests'; Request for more elaborate example tutorial (#1) Date: 2021-06-01 11:26 EDT

Ima dumbass. I don't think I understand how to use the program really..

Log of what I have done: Having the latest ‘brew’-version installed* ran ‘brew install python3’ in terminal ran ‘brew install pip3’ in terminal In ‘finder’: copied ‘config-sample.ini’ and renamed it ‘config.ini’ opened ‘config.ini’ with textEdit.app, edit and saved (see copy of its content farther below) In ‘finder’: right clicked and ran ‘patreon-mp3.py’ in terminal Received following error whit in the string of text:

import requests
ModuleNotFoundError: No module named 'requests'

config.ini content:

RSSURL = 
https://www.patreon.com/rss/Pr*************en?auth=Ps**************************************2K_
Genre = Ma*****************ws
Album = Pa*******************en
DownloadPrefix = downloads/

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/prenagha/patreon-mp3/issues/1