I am running into an error with feedparser when trying to run new install of mylar3. I've tried uninstalling and rerunning the requirements.txt but I still end up with the same error:
So first, how did you install Mylar (git / source / docker)?
And then next, which version of Mylar are you running (master /python3-dev), and what commit (or version number if you're running master) ?
We'll also need to make sure the version of feedparser you have installed is correct for the version of python you're using Mylar against. So which version of python are you using, and what is the output of doing a pip list ? If it spits back pip not found or it doesn't look right - make sure that you're calling the right version of pip. Depending on how many versions of python 3 you have on your system, pip might reference a different version that the python you use to run Mylar with (ie. it could be called pip3).
But we'll need to see what version of feedparser you're running regardless.
Well there's the problem most likely then - python 3.6.9 isn't a supported version for use with Mylar3 (as mentioned on the github readme).
You'll have to use at least python3.7.2, but if you can go higher it's best to go current (mylar3 is coded primarily against 3.8 1).
Once you install a newer version, you'll need to run the appropriate pip command again to install the requirements.txt against the newly installed version of python.
So here is where I am confused. I've installed Python 3.8 multiple times. after every attempt I run python3 --version to confirm and it always comes back 3.6.9. I'm not sure what I'm doing wrong.
python3.8 Mylar.py
Traceback (most recent call last):
File "Mylar.py", line 26, in <module>
import mylar
File "/opt/mylar3/mylar/__init__.py", line 33, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
ModuleNotFoundError: No module named 'apscheduler'
So your python3.6.9 uses the command python3, and your 3.8 version uses python3.8 as the command. This your pip commands are tied to the same logistics, pip3 will install modules for use with python 3.6.9, and pip3.8 will do the same but for python 3.8.
You need to do the pip install requirements.txt installation aspect (as per the github readme) using the correct version of pip, which is tied to your python version (in this case, it's probably pip3.8, not pip).
So if you run python as python3.8, then your pip command to install modules to be used by that specific version is pip3.8, not pip, nor pip3. As an example, pip3.8 install -r requirements.txt
So pip3.8 comes up as command not found. I'll try and do some more googling. This has been my first foray into Linux so I'm sure I've mucked something up.
I was able to force python3 to use 3.8 instead of 3.6. From there I reran the pip3 install -r requirements.txt and then ran Mylar. Thank you for you help! Next step is to reconfigure my autolaunch!