dhruv-pratap opened a new pull request, #4818:
URL: https://github.com/apache/iceberg/pull/4818

   If you are using an M1 Mac to run tox, there is currently [an issue with 
pyenchant](https://github.com/pyenchant/pyenchant/issues/265) that you would 
run into while running `linters`. This happens because python distributions 
installed by `pyenv` are in the default M1 architecture (aarch64), and can't 
find a compatible enchant library. As a workaround, you can follow the below 
steps. 
   
   Install enchant with Homebrew 
   ```shell
   brew install enchant
   ```
   Set environment variable `PYENCHANT_LIBRARY_PATH` to point to the installed 
enchant library before running `tox`.
   ```shell
   export PYENCHANT_LIBRARY_PATH = /opt/homebrew/lib/libenchant-2.dylib
   ```
   You can set this environment variable in your `~/.zshrc` or in your IDE to 
avoid doing it everytime.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to