8/1/2023 0 Comments Anaconda python for mac m1![]() ![]() Finally you can install it on Conda env which you get from this guide or better this article.its pretty intensive task and takes 3-4 hours with 8 cores working Then start building with this flags USE_BAZEL_VERSION=3.7.2 bazel build -jobs 7 -config=macos_arm64 -config=noaws -config=nogcp -config=nohdfs -config=nonccl //tensorflow/tools/pip_package:build_pip_package (flags I get from comment this repo issues I believe).Configure your Tensorflow and choose your new python3.8 env ! other configs I've chosen 'no' enevryware and blank for -configs." /bin/bash -c "$(curl -fsSL)" ! double check your python version and arch ( file $(which python3) or file $(which python) in env it should be arm64e for first and arm64 for second respectively) - from here we need numpy to build it from source otherwise you will get errors before build starts After you need to prepare environment to build this from source, for that we need python 3.8 from Xcode and new env of that where you have to install numpy (I couldn't install from clear venv so, I just used this.Then download from clone Tensorflow latest git.First you need to install basilisk via Homebrew (use rosetta or arch -x86_64 important) check with uname -m.Steps like in but with important amendments Got rid of terrible accuracy of LSTM this apple GitHub version of Tensorflow 2.4.1.Successfully built from source pip package for arm64 native arch.Here what got so far with Tensorflow 2.5.0 ![]() Pkg_resources.DistributionNotFound: The 'ruamel.yaml>=0.11.14' distribution was not found and is required by conda Raise DistributionNotFound(req, requirers) Needed = self.resolve(parse_requirements(requirements))įile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 786, in resolve Got stuck though on "Step 3: Install Miniforge" doing the final "conda" as it showsįrom pkg_resources import load_entry_pointįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 3241, "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 3225, in _call_asideįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 3254, in _initialize_master_working_setįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 583, in _build_masterįile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/ init.py", line 900, in require ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |