Download the natural language processing nltk library and install it under win10. The error is as follows:
IP address of raw.githubusercontent.com could not found
since the hosts cannot be modified and saved in normal mode, it needs to be run in management mode
Solution:
- Run Power Shell as administrator
- Go to the hosts directory: C:\Windows\system32\drivers\etc
- Enter cmd, notepad hosts, and enter to modify the hosts file.
- Add the website ip address and URL in the last line of the hosts file and save it.
If the IP address of raw.github is changed frequently, you need to query the URL first: open the URL to query the IP address: https://www.ipaddress.com/ Enter raw.githubusercontent Com to get the IP address
Test succeeded