
$ pythonpath : chr "/Users/daniel/miniconda3/lib/python310.zip:/Users/daniel/miniconda3/lib/python3.10:/Users/daniel/miniconda3/lib"| truncated $ pythonhome : chr "/Users/daniel/miniconda3:/Users/daniel/miniconda3" $ libpython : chr "/Users/daniel/miniconda3/lib/libpython3.10.dylib"
$ python : chr "/Users/daniel/miniconda3/bin/python3.10" ) : error in running commandĪfter reinstalling miniconda and tensorflow dependencies for metal (following apple's developer instructions). Sh: /Users/daniel/.virtualenvs/r-reticulate/bin/python: No such file or directoryĮrror: Error installing package(s): "'pip'", "'wheel'", "'setuptools'"
'/Users/daniel/.virtualenvs/r-reticulate/bin/python' -m pip install -upgrade -no-user 'pip' 'wheel' 'setuptools'. Using virtual environment '~/.virtualenvs/r-reticulate'. When I try to install tensorflow for Python it returns the following: In the global menu -> python: I have selected '/usr/local/bin/python3.11'. PackagesNotFoundError: The following packages are not available from current channels: Installing TensorFlow on M1 Chip - Issues. I also tried the following solutions to reinstall and specify differently. In additional trials, I specified the virtual environment path to any of these python paths, such as: virtualenv_create("r-reticulate", python = "/Library/Frameworks/amework/Versions/3.11/bin/python3") This looked a bit odd to me to have these different paths, but I don't know because I haven't worked with Python installations before also note that the initial Error Message returns this path (/Users/daniel/Library/r-miniconda-arm64/envs/r-reticulate/bin/python3.8), which is not listed Python3 is /Library/Frameworks/amework/Versions/3.11/bin/python3 When I type 'python3 -version' in the Terminal, it returns: Python 3.10.9Īnd when I type 'type -a python3' it gives me the following paths: python3 is /opt/homebrew/bin/python3 _impl.NotFoundError: dlopen(/Users/daniel/Library/r-miniconda-arm64/envs/r-reticulate/lib/python3.8/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 0x0006): symbol not found in Users/daniel/Library/r-miniconda-arm64/envs/r-reticulate/bin/python3.8įile "/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/reticulate/python/rpytools/loader.py", line 39, in _import_hookįile "/Users/daniel/Library/r-miniconda-arm64/envs/r-reticulate/lib/python3.8/site-packages/tensorflow/_init_.py", line 443, in įile "/Users/daniel/Library/r-miniconda-arm64/envs/r-reticulate/lib/python3.8/site-packages/tensorflow/python/framework/load_library.py", line 151, in load_library Python environments searched for 'tensorflow' package: I receive the following output: > library(reticulate)Įrror: Valid installation of TensorFlow not found. In R I then run the following in a new session: library(reticulate)
I am trying to get tensorflow up and running in R but several attempts have failed.