Jul-19-2018, 08:39 PM
Quote:C:\python37>>>> import requests
> was unexpected at this time.
C:\python37>pip install requests
Collecting requests
Downloading https://files.pythonhosted.org/packages/...3db50ed6d8
a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (9
1kB)
100% |████████████████████████████████| 92kB 738kB/s
Collecting urllib3<1.24,>=1.21.1 (from requests)
Downloading https://files.pythonhosted.org/packages/...071a4a32a5
e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133k
B)
100% |████████████████████████████████| 143kB 1.6MB/s
Collecting idna<2.8,>=2.5 (from requests)
Downloading https://files.pythonhosted.org/packages/...3caeb8a8c1
af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 1.3MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests)
Downloading https://files.pythonhosted.org/packages/...2e4274b648
7b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133
kB)
100% |████████████████████████████████| 143kB 3.3MB/s
Collecting certifi>=2017.4.17 (from requests)
Downloading https://files.pythonhosted.org/packages/...92d846975f
c916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
(150kB)
100% |████████████████████████████████| 153kB 2.2MB/s
Installing collected packages: urllib3, idna, chardet, certifi, requests
The script chardetect.exe is installed in 'c:\python37\Scripts' which is not o
n PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warn
ing, use --no-warn-script-location.
Successfully installed certifi-2018.4.16 chardet-3.0.4 idna-2.7 requests-2.19.1
urllib3-1.23
C:\python37>
OK, I un-installed everything, again.
Made new folder as suggested "Python37" and re-installed.
Instructions are a bit different for the 3.7 version only slightly, but ran the first script and copy/paste what is on the CMD screen.
Seems a lot cleaner to make that own folder.
I don't know what this part means though:
Quote:The script chardetect.exe is installed in 'c:\python37\Scripts' which is not o
n PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warn
ing, use --no-warn-script-location.