[
https://issues.apache.org/jira/browse/ARROW-17098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567668#comment-17567668
]
Jack Howard commented on ARROW-17098:
-------------------------------------
Please re-read the information I submitted in the environment section. I
provided the content from pip freeze.
I am reposting this information again:
```
(.venv) C:\dev\UST\.venv\Scripts>pip freeze
numpy==1.23.1
pyarrow==8.0.0
(.venv)
C:\dev\UST\.venv\Scripts>C:/Users/jwhow/AppData/Local/Programs/Python/Python310/python.exe
c:/dev/UST/invalid_row_handler.py
pyarrow version info
--------------------
Package kind: python-wheel-windows
Arrow C++ library version: 6.0.1
Arrow C++ compiler: MSVC 19.16.27045.0
Arrow C++ compiler flags: /DWIN32 /D_WINDOWS /GR /EHsc
/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
Arrow C++ git revision: 347a88ff9d20e2a4061eec0b455b8ea1aa8335dc
Arrow C++ git description: apache-arrow-6.0.1
(.venv) C:\dev\UST\.venv\Scripts>pip uninstall pyarrow
Found existing installation: pyarrow 8.0.0
Uninstalling pyarrow-8.0.0:
Would remove:
c:\dev\ust\.venv\lib\site-packages\pyarrow-8.0.0.dist-info\*
c:\dev\ust\.venv\lib\site-packages\pyarrow\*
c:\dev\ust\.venv\scripts\plasma_store.exe
Proceed (Y/n)? Y
Successfully uninstalled pyarrow-8.0.0
(.venv) C:\dev\UST\.venv\Scripts>pip uninstall pyarrow
WARNING: Skipping pyarrow as it is not installed.
(.venv) C:\dev\UST\.venv\Scripts>pip freeze
numpy==1.23.1
```
It appears the wheel provided is incorrect.
> TypeError: __init__() got an unexpected keyword argument 'invalid_row_handler'
> ------------------------------------------------------------------------------
>
> Key: ARROW-17098
> URL: https://issues.apache.org/jira/browse/ARROW-17098
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 8.0.0
> Environment: Edition Windows 10 Pro
> Version 21H1
> Installed on 2/22/2021
> OS build 19043.1826
> Experience Windows Feature Experience Pack 120.2212.4180.0
> Pip Freeze:
> (.venv) C:\dev\UST>pip freeze
> numpy==1.23.1
> pyarrow==8.0.0
> Visual Studio Code:
> Version: 1.69.1 (user setup)
> Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
> Date: 2022-07-12T08:21:24.514Z
> Electron: 18.3.5
> Chromium: 100.0.4896.160
> Node.js: 16.13.2
> V8: 10.0.139.17-electron.0
> OS: Windows_NT x64 10.0.19043
> Reporter: Jack Howard
> Priority: Major
> Attachments: invalid_row_handler.py
>
>
> Attempting to use csv.ParseOptions invalid_row_handler fails on Python 3.10.1
> and Python 3.10.5. In trouble shooting my code, I find the documentation
> code fails with the same message my code is experiencing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)