Closed Simkav closed 3 years ago
You have 2 versions of python. Uninstall one of them.
@Simkav you are not supposed to run the script like that , to run the generic script follow this syntax :
python udemy_enroller.py --browser=firefox --max-pages=10 --cache-hits=12
But then you should see this :
◆ Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE git:(develop) ❯❯❯ python udemy_enroller.py
usage: udemy_enroller.py [-h] [--browser {google-chrome,chromium,opera,ff,internet_explorer,ie,chrome,edge,firefox}] [--max-pages MAX_PAGES] [--cache-hits CACHE_HITS]
Udemy Enroller
optional arguments:
-h, --help show this help message and exit
--browser {google-chrome,chromium,opera,ff,internet_explorer,ie,chrome,edge,firefox}
Browser to use for Udemy Enroller
--max-pages MAX_PAGES
Max pages to scrape from tutorialbar.com
--cache-hits CACHE_HITS
If we hit the cache this number of times in a row we will exit the script
◆ Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE git:(develop) ❯❯❯
Since you are on ubuntu try python3 instead of python.
Thanks phyton3 and arguments help.
simkav@Simkav-PC:~/Sandbox/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE$ python udemy_enroller.py
Traceback (most recent call last): File "udemy_enroller.py", line 8, in
from selenium.webdriver.remote.webdriver import WebDriver
ModuleNotFoundError: No module named 'selenium'
python verison 3.8
pip3 list shows that i have selenium
i'm new to phyton, what should i do?