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
I am trying to import ribosome in python and I keep encountering this error:
'''js
"
{
import ribosome
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python310\lib\site-packages\ribosome_init_.py", line 6, in
from ribosome.nvim.api.data import NvimApi
File "C:\Program Files\Python310\lib\site-packages\ribosome\nvim\api\data.py", line 31, in
class StrictNvimApi(NvimApi):
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 107, in new
fs = Map(namespace).lift('init') / (lambda a: init_fields(a, globalns)) | Nil
File "C:\Program Files\Python310\lib\site-packages\amino\tc\base.py", line 244, in wrap
return f(self, *a, **kw) # type: ignore
File "C:\Program Files\Python310\lib\site-packages\amino\tc\functor.py", line 23, in truediv
return self.map(fa, f)
File "C:\Program Files\Python310\lib\site-packages\amino\tc\monad.py", line 15, in map
return self.flat_map(fa, lambda a: self.pure(f(a)))
File "C:\Program Files\Python310\lib\site-packages\amino\instances\maybe.py", line 43, in flat_map
return fa.cata(lambda v: f(v), Nothing)
File "C:\Program Files\Python310\lib\site-packages\amino\maybe.py", line 54, in cata
f(cast(A, self._get))
File "C:\Program Files\Python310\lib\site-packages\amino\instances\maybe.py", line 43, in
return fa.cata(lambda v: f(v), Nothing)
File "C:\Program Files\Python310\lib\site-packages\amino\tc\monad.py", line 15, in
return self.flat_map(fa, lambda a: self.pure(f(a)))
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 107, in
fs = Map(namespace).lift('init') / (lambda a: init_fields(a, globalns)) | Nil
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 94, in init_fields
types = Map(get_type_hints(init))
File "C:\Program Files\Python310\lib\typing.py", line 1849, in get_type_hints
value = _eval_type(value, globalns, localns)
File "C:\Program Files\Python310\lib\typing.py", line 326, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "C:\Program Files\Python310\lib\typing.py", line 696, in _evaluate
self.forward_value = _eval_type(
File "C:\Program Files\Python310\lib\typing.py", line 328, in _eval_type
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "C:\Program Files\Python310\lib\typing.py", line 328, in
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "C:\Program Files\Python310\lib\typing.py", line 326, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "C:\Program Files\Python310\lib\typing.py", line 691, in _evaluate
eval(self.forward_code, globalns, localns),
File "", line 1, in
NameError: name 'StrictNvimApi' is not defined
}
"
'''
Any help for resolving this would be appreciated.
The text was updated successfully, but these errors were encountered:
I am trying to import ribosome in python and I keep encountering this error:
'''js
"
{
}
"
'''
Any help for resolving this would be appreciated.
The text was updated successfully, but these errors were encountered: