terminal - Python: how to instal "requests" -
i have python version 3.5.2. trying use requests called through import requests following error:
traceback (most recent call last): file "<pyshell#26>", line 1, in <module> import requests importerror: no module named 'requests' reading guides, can see have instal module because not present in system.
so downloaded file don't know do. have read should instal on terminal (i have mac). have never used terminal: code should used?
first check version of python shell running; python 3 executable installed python3 in /usr/bin (or wherever else installed; ie. /usr/local/bin), i've seen plain python on machines depending on how installed.
python --version if see python 3.5.2; run:
python -m pip install requests if not; try doing same python3 instead of python.
Comments
Post a Comment