Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting started, again
#7
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.
Reply


Messages In This Thread
getting started, again - by bluedoor5 - Jul-13-2018, 05:32 AM
RE: getting started, again - by bluedoor5 - Jul-13-2018, 09:06 AM
RE: getting started, again - by snippsat - Jul-13-2018, 10:50 AM
RE: getting started, again - by bluedoor5 - Jul-13-2018, 12:38 PM
RE: getting started, again - by bluedoor5 - Jul-16-2018, 10:00 PM
RE: getting started, again - by snippsat - Jul-16-2018, 10:45 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 08:39 PM
RE: getting started, again - by nilamo - Jul-19-2018, 08:48 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 09:06 PM
RE: getting started, again - by nilamo - Jul-19-2018, 09:07 PM
RE: getting started, again - by bluedoor5 - Jul-19-2018, 09:44 PM
RE: getting started, again - by bluedoor5 - Jul-20-2018, 10:08 AM
RE: getting started, again - by snippsat - Jul-20-2018, 11:00 AM
RE: getting started, again - by bluedoor5 - Jul-20-2018, 10:47 PM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 03:18 AM
RE: getting started, again - by snippsat - Jul-21-2018, 06:50 AM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 02:44 PM
RE: getting started, again - by snippsat - Jul-21-2018, 03:29 PM
RE: getting started, again - by bluedoor5 - Jul-21-2018, 04:36 PM
RE: getting started, again - by nilamo - Jul-23-2018, 06:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting started b4iknew 3 2,647 Jan-22-2019, 09:12 AM
Last Post: b4iknew

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020