You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/02/03 05:27:32 UTC

[GitHub] [arrow-datafusion] wjones127 commented on pull request #1711: Add tests and CI for optional pyarrow module

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


   > So it seems like maybe pyo3 is picking up the right executable (my virtual env) but not the correct libdir 🤔
   
   @alamb Actually this seems to be a known issue: https://github.com/PyO3/pyo3/issues/1741#issuecomment-958198336. Python doesn't seem to do the virtual environment path computation for embedded systems on Mac OS. A workaround is to extract that into `PYTHON_PATH` like so:
   
   ```
   export PYTHONPATH=$(python -c "import sys; print(sys.path[-1])")
   ```
   
   This is orthogonal to the original issue I had, which is that you must use a framework based Python install. That's default in Homebrew and Python.org installers, but not in pyenv.
   
   I have updated the error help to reflect these two issues. 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org