aapatre / Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
GNU General Public License v3.0
3.14k stars 545 forks source link

[Question]: ModuleNotFoundError: No module named 'ruamel' #341

Closed jayjay3108 closed 2 years ago

jayjay3108 commented 2 years ago

Describe the bug I get the follwoing error, when starting the scraper: Traceback (most recent call last): File "/root/anaconda3/bin/udemy_enroller", line 5, in from udemy_enroller.cli import main File "/root/anaconda3/lib/python3.8/site-packages/udemy_enroller/init.py", line 3, in from .settings import Settings File "/root/anaconda3/lib/python3.8/site-packages/udemy_enroller/settings.py", line 6, in from ruamel.yaml import YAML, dump ModuleNotFoundError: No module named 'ruamel'

To Reproduce Steps to reproduce the behavior:

  1. download the lastest relase
  2. install the requirements
  3. start it with udemy_enroller

Expected behavior scraping the Courses

Desktop (please complete the following information):

cullzie commented 2 years ago

@jayjay3108 This isn't a bug. You need to install the ruamel package locally in order for this script to work. Can you show what you did to install the package and how you are running the script? Thanks

jayjay3108 commented 2 years ago

installed it with pip install ruamel.yaml and got the following:

/root/anaconda3/lib/python3.8/site-packages/secretstorage/dhcrypto.py:16: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes /root/anaconda3/lib/python3.8/site-packages/secretstorage/util.py:25: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes Requirement already satisfied: ruamel.yaml in /root/anaconda3/lib/python3.8/site-packages (0.15.87)

when i try to rerun the udemy_enroller, i got the same error as above

im running the script udemy_enroller in the folder "/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE-3.2.0"

mejsler commented 2 years ago

don't waste your time, it's not working anyway

cullzie commented 2 years ago

@jayjay3108 You need to install the packages to your virtual environment not the system

jayjay3108 commented 2 years ago

may put this info in the readme..