-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Tried to do:
!pip install kora
import kora.install.py38
But I got:
JSONDecodeError Traceback (most recent call last)
<ipython-input-3-92b8be0c7a4b> in <module>()
1 get_ipython().system('pip install kora')
----> 2 import kora.install.py38
5 frames
/usr/local/lib/python3.7/dist-packages/kora/install/py38.py in <module>()
17
18 # show URL
---> 19 url = ngrok.connect(8888).public_url
20 print(url)
/usr/local/lib/python3.7/dist-packages/pyngrok/ngrok.py in connect(addr, proto, name, pyngrok_config, **options)
254
255 tunnel = NgrokTunnel(api_request("{}/api/tunnels".format(api_url), method="POST", data=options,
--> 256 timeout=pyngrok_config.request_timeout),
257 pyngrok_config, api_url)
258
/usr/local/lib/python3.7/dist-packages/pyngrok/ngrok.py in api_request(url, method, data, params, timeout)
450 return None
451
--> 452 return json.loads(response_data)
453 except socket.timeout:
454 raise PyngrokNgrokURLError("ngrok client exception, URLError: timed out", "timed out")
/usr/lib/python3.7/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
346 parse_int is None and parse_float is None and
347 parse_constant is None and object_pairs_hook is None and not kw):
--> 348 return _default_decoder.decode(s)
349 if cls is None:
350 cls = JSONDecoder
/usr/lib/python3.7/json/decoder.py in decode(self, s, _w)
335
336 """
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338 end = _w(s, end).end()
339 if end != len(s):
/usr/lib/python3.7/json/decoder.py in raw_decode(self, s, idx)
353 obj, end = self.scan_once(s, idx)
354 except StopIteration as err:
--> 355 raise JSONDecodeError("Expecting value", s, err.value) from None
356 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels