Am Mittwoch, 18. März 2020, 17:02:13 CET schrieben Sie:
libpython3.5-stdlib:amd64 3.5.2-2ubuntu0~16.04.9 amd64
This is the standard version, but still the backtrace looks strange, especially the last bit: File "/usr/lib/python3.5/csv.py", line 96, in fieldnames self._fieldnames = next(self.reader, dialect=csv.excel_tab) NameError: name 'csv' is not defined
The second part is strange as the original sources [1] don't have the second parameter. So we should double check. Can you open the file `/usr/lib/python3.5/csv.py` and check line 96?
Please send the whole function around the lines here. (Can you also post your mail in text-only format? This is something I can and many others can read much faster, and thus can answer you faster. :) Thanks! )
Can you also post the length, permissions and sha256 sum of the file? Here for comparison the data for my file: ls -l /usr/lib/python3.5/csv.py -rw-r--r-- 1 root root 16128 Oct 8 16:38 /usr/lib/python3.5/csv.py sha256sum /usr/lib/python3.5/csv.py 6d96e56ec22d1603ffed0f8d20f5b5090fb6ae4c7417126d09afc45447b34a64 /usr/lib/ python3.5/csv.py
Best Regards, Bernhard [1] https://github.com/python/cpython/blob/master/Lib/csv.py