You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
┌──(kali㉿kali)-[~/git/SpaceAPI]
└─$ pip3 install geopy geocoder
Defaulting to user installation because normal site-packages is not writeable
Collecting geopy
Downloading geopy-2.2.0-py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.9/118.9 KB 5.4 MB/s eta 0:00:00
Collecting geocoder
Downloading geocoder-1.38.1-py2.py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.6/98.6 KB 13.5 MB/s eta 0:00:00
Collecting geographiclib<2,>=1.49
Downloading geographiclib-1.52-py3-none-any.whl (38 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from geocoder) (1.16.0)
Requirement already satisfied: future in /usr/lib/python3/dist-packages (from geocoder) (0.18.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from geocoder) (2.25.1)
Collecting ratelim
Downloading ratelim-0.1.6-py2.py3-none-any.whl (4.0 kB)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from geocoder) (8.0.3)
Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ratelim->geocoder) (4.4.2)
Installing collected packages: geographiclib, ratelim, geopy, geocoder
WARNING: The script geocode is installed in '/home/kali/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed geocoder-1.38.1 geographiclib-1.52 geopy-2.2.0 ratelim-0.1.6
┌──(kali㉿kali)-[~/git/SpaceAPI]
└─$ python3 trackISS.py
Traceback (most recent call last):
File "/home/kali/git/SpaceAPI/trackISS.py", line 20, in
data = (requests.get("http://api.open-notify.org/astros.json")).json();print("Data Request: ",(data['message'])),print("Total humans in orbit: ",data['number'],"\nPrinting manifest:")
File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
┌──(kali㉿kali)-[~/git/SpaceAPI]
└─$ pip3 install geopy geocoder
Defaulting to user installation because normal site-packages is not writeable
Collecting geopy
Downloading geopy-2.2.0-py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.9/118.9 KB 5.4 MB/s eta 0:00:00
Collecting geocoder
Downloading geocoder-1.38.1-py2.py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.6/98.6 KB 13.5 MB/s eta 0:00:00
Collecting geographiclib<2,>=1.49
Downloading geographiclib-1.52-py3-none-any.whl (38 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from geocoder) (1.16.0)
Requirement already satisfied: future in /usr/lib/python3/dist-packages (from geocoder) (0.18.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from geocoder) (2.25.1)
Collecting ratelim
Downloading ratelim-0.1.6-py2.py3-none-any.whl (4.0 kB)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from geocoder) (8.0.3)
Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ratelim->geocoder) (4.4.2)
Installing collected packages: geographiclib, ratelim, geopy, geocoder
WARNING: The script geocode is installed in '/home/kali/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed geocoder-1.38.1 geographiclib-1.52 geopy-2.2.0 ratelim-0.1.6
┌──(kali㉿kali)-[~/git/SpaceAPI]
└─$ python3 trackISS.py
Traceback (most recent call last):
File "/home/kali/git/SpaceAPI/trackISS.py", line 20, in
data = (requests.get("http://api.open-notify.org/astros.json")).json();print("Data Request: ",(data['message'])),print("Total humans in orbit: ",data['number'],"\nPrinting manifest:")
File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: