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
TypeError Traceback (most recent call last)
<ipython-input-4-26ef6f3fb6e5> in <module>()
----> 1 get_ipython().run_cell_magic('node', '', 'var date = new Date();\nprint(date);')
/opt/conda/lib/python3.6/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
2129 magic_arg_s = self.var_expand(line, stack_depth)
2130 with self.builtin_trap:
-> 2131 result = fn(magic_arg_s, cell)
2132 return result
2133
<decorator-gen-126> in node(self, line, cell)
/opt/conda/lib/python3.6/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
185 # but it's overkill for just that one bit of state.
186 def magic_deco(arg):
--> 187 call = lambda f, *a, **k: f(*a, **k)
188
189 if callable(arg):
/opt/conda/lib/python3.6/site-packages/pixiedust_node/__init__.py in node(self, line, cell)
48 def node(self, line, cell):
49 # write the cell contents to the Node.js process
---> 50 self.n.write(cell)
51
52 try:
/opt/conda/lib/python3.6/site-packages/pixiedust_node/node.py in write(self, s)
53
54 def write(self, s):
---> 55 self.ps.stdin.write(s)
56 self.ps.stdin.write("\r\n")
57
TypeError: a bytes-like object is required, not 'str'
Any ideas?
The text was updated successfully, but these errors were encountered:
Any ideas?
The text was updated successfully, but these errors were encountered: