Traceback (most recent call last):



 "<ipython-input-37-5b65c1f8f23e>", line 3, in <module>

B = sympy.Matrix(D)



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/dense.py", line 430, in __new__

return cls._new(*args, **kwargs)



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/dense.py", line 442, in _new

rows, cols, flat_list = cls._handle_creation_inputs(*args, **kwargs)



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/matrices.py", line 2528, in _handle_creation_inputs

return args[0].rows, args[0].cols, args[0].as_explicit()._mat



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/expressions/matexpr.py", line 340, in as_explicit

for i in range(self.rows)])



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/expressions/matexpr.py", line 340, in <listcomp>

for i in range(self.rows)])



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/expressions/matexpr.py", line 339, in <listcomp>

for j in range(self.cols)]



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/expressions/matexpr.py", line 289, in __getitem__

return self._entry(i, j)



 "/home/rikard/.local/lib/python3.7/site-packages/sympy/matrices/expressions/blockmatrix.py", line 248, in _entry

return self.blocks[row_block, col_block][i, j]

TypeError: 'One' object is not subscriptable

Traceback (most recent call last):


 "D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 721, in getImports

return _getImports_pe(pth)


 "D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 109, in _getImports_pe

import_dllnames_only=True,
TypeError: parse_data_directories() got an unexpected keyword argument 'forwarded_exports_only'
