I'm on MacOS Catalina and I've created a python file with the contents being just
import beautifulsoup
And the crontab is setup as:
*/1 * * * * PYTHONPATH=$PYTHONPATH:/anaconda3/lib/python3.6/site-packages/ /Users/ABC/Downloads/downloading_tables.py >> /Users/ABC/Desktop/cron.log 2>&1
But the logs keep throwing the error "No module named 'beautifulsoup'"
I tried adding pip install beautiful soup in the python file but it threw a syntax error on the word install.
What am i doing wrong?
Thanks!