I had planned on using the conversion functions once I got to that point.
I tried using np.asarray
(first thing I tried yesterday) and I get this error:
I’m using numpy version 1.18.4 with python 3.7.6.
arr = np.asarray(buffer)
Traceback (most recent call last):
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-92-3c9f6e397906>", line 1, in <module>
arr = np.asarray(buffer)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\numpy\core\_asarray.py", line 85, in asarray
return array(a, dtype, copy=False, order=order)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\netref.py", line 220, in method
return syncreq(_self, consts.HANDLE_CALLATTR, name, args, kwargs)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\netref.py", line 75, in syncreq
return conn.sync_request(handler, proxy, *args)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\protocol.py", line 471, in sync_request
return self.async_request(handler, *args, timeout=timeout).value
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\async_.py", line 97, in value
raise self._obj
_get_exception_class.<locals>.Derived: multi-dimensional sub-views are not implemented
========= Remote Traceback (1) =========
Traceback (most recent call last):
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\protocol.py", line 329, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\protocol.py", line 603, in _handle_callattr
return self._handle_call(obj, args, kwargs)
File "C:\Users\Npyle1\.conda\envs\three_mat\lib\site-packages\rpyc\core\protocol.py", line 590, in _handle_call
return obj(*args, **dict(kwargs))
NotImplementedError: multi-dimensional sub-views are not implemented
I am currently looking at updating rpyc to see if that helps. I’m using 4.0.2 and the latest version is 4.1.5