pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

Here was my process to correct the error, on Windows 10 with Anaconda: Added the following paths to my environment variables: /AppData/Local/Continuum/Anaconda3 /AppData/Local/Continuum/Anaconda3/Scripts /AppData/Local/Continuum/Anaconda3/Library /AppData/Local/Continuum/Anaconda3/Library/Bin At this stage, the error message was still there. From Anaconda Prompt, I installed the latest version of pip: python -m pip install –upgrade pip This appeared to correct the … Read more

Youtube video download URL

Actually I’m working on the similar project that downloading the video file from youtube. I find that the get_video might be blocked by Youtube. so instead of using get_video., I use the video info retrieved from get_video_info and extract it to get the video file url. Within the get_video_info, there are url_encoded_fmt_stream_map. After encoding it, … Read more

Django – Understanding X-Sendfile

Yes, that’s just how it works. The exact implementation depends on the webserver but in the case of nginx, it’s recommended to mark the location as internal to prevent external access. Nginx can asynchronously serve files while with Django you need one thread per request which can get problematic for higher numbers of parallel requests. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)