Khi sử dụng thư viện requests của Python 3 để request tới 1 url. Nếu URL mà bạn đang request đến chưa cài đặt chứng chỉ SSL Certificate thì bạn sẽ gặp cảnh báo sau: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘vinasupport.com’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( Vậy […]
Nếu bạn gặp phải lỗi sau: Could not find platform independent libraries <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError: No module named ‘encodings’ Current thread 0x00007f47a62e3700 (most recent call first): Process finished with exit code 134 (interrupted by signal 6: SIGABRT) Nguyên nhân: Bạn đã […]