Skip to content

Commit e45f295

Browse files
docs: macos fix for some functions (#729)
* docs: macos fix for some functions * docs: formatting
1 parent 5b5b408 commit e45f295

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/development/troubleshooting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ Another solution which helps is to remove Node, NodeJS, and npm from your system
3939
On Ubuntu, this can be done using `sudo apt remove node nodejs npm`, followed by `sudo apt autoremove`. But in some cases, depending on your existing installation, you may need to also manually remove some files. See [this StackOverflow answer](https://stackoverflow.com/a/41057802) for guidance.
4040

4141
After running these commands, you are advised to open a fresh shell, and then also reinstall Pyenv and Poetry to make sure they pick up the changes (see relevant section above).
42+
43+
## MacOS
44+
45+
Some functions on MacOS may throw a java error:
46+
47+
`python3.10/site-packages/py4j/protocol.py:326: Py4JJavaError`
48+
49+
This can be resolved by adding the follow line to your `~/.zshrc`:
50+
51+
`export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES`

0 commit comments

Comments
 (0)