-
Notifications
You must be signed in to change notification settings - Fork 93
Troubleshooting
Daniel Smilkov edited this page Aug 15, 2023
·
2 revisions
If your pyenv does not work on M1 machines after installing xcode, you may need to reinstall xcode command line tools. Stack Overflow Link
Follow instructions from pyenv:
- Uninstall python via
pyenv uninstall
- Run
brew install openssl readline sqlite3 xz zlib tcl-tk
- Reinstall python via
pyenv install
$ sudo rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
When downloading and pre-processing TFDS datasets, you might get too many open files
error. To fix, increase the max open files limit.
M1/M2 chips need a special TF installation. These steps are taken from the official Apple docs:
- Click here to download Conda env
- Run:
chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
- Install the TensorFlow
2.9.0
dependencies:conda install -c apple tensorflow-deps=2.9.0