[ https://issues.apache.org/jira/browse/ARROW-17098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567739#comment-17567739 ]
Jack Howard commented on ARROW-17098: ------------------------------------- Completely agree that it's very weird. ``` pip -v install pyarrow Using pip 22.1.2 from C:\dev\UST\.venv\lib\site-packages\pip (python 3.10) Collecting pyarrow Using cached pyarrow-8.0.0-cp310-cp310-win_amd64.whl (17.9 MB) Requirement already satisfied: numpy>=1.16.6 in c:\dev\ust\.venv\lib\site-packages (from pyarrow) (1.23.1) Installing collected packages: pyarrow Successfully installed pyarrow-8.0.0 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 ``` This is a fresh virtual environment. Your environment and mine have the same version of numpy. This is the only solo pyarrow install that I've ever made on this machine - however, I currently no idea how many other modules have embedded pyarrow on the entire machine. As expected, pyarrow.show_versions() does not work after uninstalling pyarrow. > 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)