wjones127 commented on pull request #1711:
URL: 
https://github.com/apache/arrow-datafusion/pull/1711#issuecomment-1026216365


   > Any thoughts @wjones127 ?
   
   TBH, I get this too on my local. It seems to be using your homebrew Python 
3.9 but not the version of Python that you've installed pyarrow in. (On my 
local, I was trying to use a pyenv-installed Python, but it didn't seem to want 
to use that.) To get it to pass, I set `PYO3_PYTHON` to the path of my 
Homebrew-installed Python (basically gave up on my Pyenv installs).
   
   At the very least, it seems to work in CI without much configuration.
   
   I assumed this is specific to my Mac OS + PyEnv setup, and that 
`PYO3_PYTHON=$(which python)` would cover other cases. But on second thought, 
maybe in all cases where that command would find the right Python, PyO3 will 
already do the right thing. So perhaps I need to change the instructions? 
Something like `Try setting PYO3_PYTHON=<full-path-to-python>`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to